You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
Hello, I want to set up a stylus local test network. I have successfully built a local test network using the stylus branch in nitro-testnode. However, I want to use the latest version of stylus, and the stylus branch in nitro-testnode has not been updated for a long time. The configuration file it generates will make the latest version stylus report an error and exit. I tried to use nitro-testnode in the stylus repository and it worked, but it seemed that stylus support was not turned on correctly.
In go-ethereum/params/config.go, IsStylus: c.IsArbitrum() && currentArbosVersion >= ArbosVersion_Stylus, where ArbosVersion_Stylus = 30, and in go-ethereum/params/config_arbitrum.go``" InitialArbOSVersion": 11, I tried changing 11 to 30, but it still doesn't work properly.
I use ./test-node.bash --init to start the local test network, and then use the latest version of cargo-stylus to deploy the helloword wasm smart contract generated by cargo-stylus new, which always returns "execution reverted".
Connecting to Stylus RPC endpoint: http://127.0.0.1:8547
Error: failed to deploy
Caused by:
Stylus checks failed: program predeployment check failed when checking against ARB_WASM_ADDRESS 0000000000000000000000000000000000000071: (code: -32000, message: execution reverted, data: None)
Location:
What should I do to correctly set up the stylus local testnet?
The text was updated successfully, but these errors were encountered:
Hello, I want to set up a stylus local test network. I have successfully built a local test network using the stylus branch in nitro-testnode. However, I want to use the latest version of stylus, and the stylus branch in nitro-testnode has not been updated for a long time. The configuration file it generates will make the latest version stylus report an error and exit. I tried to use nitro-testnode in the stylus repository and it worked, but it seemed that stylus support was not turned on correctly.
In
go-ethereum/params/config.go
,IsStylus: c.IsArbitrum() && currentArbosVersion >= ArbosVersion_Stylus
, whereArbosVersion_Stylus = 30
, and ingo-ethereum/params/config_arbitrum.go``" InitialArbOSVersion": 11
, I tried changing 11 to 30, but it still doesn't work properly.I use
./test-node.bash --init
to start the local test network, and then use the latest version of cargo-stylus to deploy the helloword wasm smart contract generated bycargo-stylus new
, which always returns "execution reverted".What should I do to correctly set up the stylus local testnet?
The text was updated successfully, but these errors were encountered: