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 was archived by the owner on Aug 27, 2025. It is now read-only.
Impossible to deploy solidity-contract, compiled by solc 0.8.20 and upper.
[7f55b5ffb640][24-03-02T14:40:43.079][CpsRunEvm.cpp:189 ][InvokeEvm ] lock released normally
[7f55b5ffb640][24-03-02T14:40:43.079][CpsRunEvm.cpp:158 ][Run ] EVM: Unknown return type, unsuccessful
[7f55b5ffb640][24-03-02T14:40:43.079][ractStorage.cpp:1225][RevertPrevState ] BEG
[7f55b5ffb640][24-03-02T14:40:43.079][ractStorage.cpp:1225][RevertPrevState ] END
[7f55b5ffb640][24-03-02T14:40:43.079][CpsExecutor.cpp:285 ][RunFromEvm ] TxnStatus for failed run:
[7f55b5ffb640][24-03-02T14:40:43.079][CpsExecutor.cpp:288 ][RunFromEvm ] Error: invalid code
[7f55b5ffb640][24-03-02T14:40:43.079][ntStoreSCEvm.cpp:325][UpdateAccountsEvm ] END
Steps to Reproduce
solc-select 0.8.20
solc --bin Storage.sol -o build20
export WEB3_RPC_URL=http://127.0.0.1:5555
export WEB3_PRIVATE_KEY=0xd96e9eb5b782a80ea153c937fa83e5948485fbfc8b7e7c069d7b914dbc350aba
web3 contract deploy build20/Storage.bin
ERROR: Contract deploy tx failed: 0x6e5e22a48ea53f412539e61169678b6920a0fcf1815907023e7a89d30586fd1c. Did you pass in the correct constructor arguments?
Same for versions 0.8.21, 0.8.22, 0.8.23, 0.8.24.
I used github.com/gochain/web3 CLI for simplicity, but result is same when to deploy through github.com/ethereum/go-ethereum library.