-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: rvalle/feature docker #437
base: master
Are you sure you want to change the base?
Conversation
The container is working and indexing the polkadot blockchain. |
cd $PROJECT_ROOT | ||
|
||
# Find the current version from Cargo.toml | ||
VERSION=`grep "^version" ./Cargo.toml | egrep -o "([0-9\.]+)"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if it's just me, but I have to change this to /bin/polkadot-archive/Cargo.toml
to work -- there's no version in the root Cargo.toml
since it's a workspace,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point. Yes, I noticed it failing to collect any version.
Going to test this out later! |
As discussed, it would be nice that this Dockerfile generates the WASM modules with tracing required for substrate-archive be more capable to generate events. Working on it. |
Discussed on the Chat and seems like automatic compilation of past WASM modules in batch mode is not feasible due to compiler errors :( I think I will try to use a builder Dockerfile to assist in the creation of new WASM modules while also just copy them for distribution into the node-archive docker. |
Docker builder based on @insipx stale branch
I am currently testing it, but PR is WIP but in case anybody is interested to test it...