Skip to content
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

unable to find validator machine directory for the on-chain WASM module root #2567

Open
ThomasBlock opened this issue Aug 9, 2024 · 3 comments

Comments

@ThomasBlock
Copy link

ThomasBlock commented Aug 9, 2024

i run binaries without docker.
on v3.1 there is an undocumented change?

https://docs.arbitrum.io/run-arbitrum-node/run-full-node

apt-get install sysstat -y
is now neccessary, otherweise we see
ERROR[08-09|18:13:21.175] Failed to start iostat command err="exec: \"iostat\": executable file not found in $PATH"

Started Arbitrum Nitro Service.
INFO [08-09|18:16:21.247] using existing jwt file                  filename=/root/.arbitrum/jwtsecret
INFO [08-09|18:16:21.247] Running Arbitrum nitro node              revision=7d1d84c-modified vcs.time=2024-07-12T21:57:29Z
INFO [08-09|18:16:21.248] connected to l1 chain                    l1url=http://192.168.128.45:8545 l1chainid=1
INFO [08-09|18:16:21.249] Starting metrics server                  addr=http://0.0.0.0:6070/debug/metrics
WARN [08-09|18:16:21.250] Getting file info                        dir= error="stat : no such file or directory"
ERROR[08-09|18:16:21.250] unable to find validator machine directory for the on-chain WASM module root err="stat 0x8b104a2e80ac6165dc58b9048de12f301d70b02a0ab51396c22b4b4b802a16a4: no such file or directory"

How can i fix this? Do i need to create more folders etc?

@ThomasBlock
Copy link
Author

okay is guess it has something to do with these new variables, but what do i have to set?

mkdir /root/wasm

--validation.wasm.allowed-wasm-module-roots /root/wasm --validation.wasm.root-path /root/wasm

ERROR[08-10|12:47:22.920] on-chain WASM module root did not match with any of the allowed WASM module roots

@ThomasBlock
Copy link
Author

okay i created this manually and now it's booting..

mkdir /root/wasm/0x8b104a2e80ac6165dc58b9048de12f301d70b02a0ab51396c22b4b4b802a16a4

--validation.wasm.root-path /root/wasm

Started Arbitrum Nitro Service.
INFO [08-10|13:11:21.577] using existing jwt file                  filename=/root/.arbitrum/jwtsecret
INFO [08-10|13:11:21.577] Running Arbitrum nitro node              revision=7d1d84c-modified vcs.time=2024-07-12T21:57:29Z
INFO [08-10|13:11:21.578] connected to l1 chain                    l1url=http://192.168.128.45:8545 l1chainid=1
INFO [08-10|13:11:21.579] Starting metrics server                  addr=http://0.0.0.0:6070/debug/metrics
INFO [08-10|13:11:21.580] Defaulting to pebble as the backing database
INFO [08-10|13:11:21.580] Allocated cache and file handles         database=/root/.arbitrum/arb1/nitro/l2chaindata cache=16.00MiB handles=16
INFO [08-10|13:11:21.580] Downloading initial database             url=https://snapshot.arbitrum.foundation/arb1/nitro-pruned.tar

@qnduncan
Copy link

qnduncan commented Sep 11, 2024

In my case, I set --validation.wasm.enable-wasmroots-check=false since I don't set --validation.* options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants