-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TX fails due to PrevrandaoNotSet
on non-mainnet forks
#4232
Comments
can you please post an |
@mattsse : Local Fork
with response: {"jsonrpc":"2.0","id":1,"result":{"hash":"0x84fa58a278a7fd1782796fb62f728c5cf687212a022c621ecc03532be4f64eb3","parentHash":"0x4b3d5f405d87b9ce1bf7f3bf43a148fa74489f9216c5cc49a1b332af01510b93","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","miner":"0x0000000000000000000000000000000000000000","stateRoot":"0x0000000000000000000000000000000000000000000000000000000000000000","transactionsRoot":"0xbb470b51ea61958a789f9e2c8ae17577dcad600ee55731cd9197c1fd776dff53","receiptsRoot":"0x703c035562d8e37c66f2f9461219b45c710e59c8d0d234f6b062107de627758c","number":"0x2b78f1","gasUsed":"0x0","gasLimit":"0xe4e1c0","extraData":"0x","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","timestamp":"0x63d92d74","difficulty":"0x0","totalDifficulty":"0x0","sealFields":["0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000"],"uncles":[],"transactions":[{"hash":"0x1e59a2767f2960bc4ceaded667cd8493a2815925735916f0ffbe0cac0619d892","nonce":"0x4","blockHash":"0x84fa58a278a7fd1782796fb62f728c5cf687212a022c621ecc03532be4f64eb3","blockNumber":"0x2b78f1","transactionIndex":"0x0","from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","to":null,"value":"0x0","gasPrice":"0x14f42e429d","gas":"0x2090f","input":"0x6080604052348015600f57600080fd5b506063600055607d806100236000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80634e70b1dc14602d575b600080fd5b603560005481565b60405190815260200160405180910390f3fea2646970667358221220bf8077bb444b3110164dd2d4b292160bc8c702eab717c0c61fa80178183a557c64736f6c634300080f0033","v":"0xa2c","r":"0x2a328141daded32b3c27496ff65eab47f643af176ebbeb522d222dced8f48d62","s":"0x7fc65be499cfcbc148459f118bf9e96c59e8649de9bb07b056dd0e6b9260cb43","type":"0x0","maxPriorityFeePerGas":"0x14f42e429d","maxFeePerGas":"0x14f42e429d","chainId":"0x504"}],"size":"0x2fc","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","baseFeePerGas":"0x14b893789d"}} Node providerhttps://gist.github.com/Craigson/3c97f492199f30f634dea44d4516ac2d |
hmm |
Hi. I am still getting issue in 5ireChain testnet My command for testing:
My issue:
My forge version is : I am able to
|
May I open this issue again ? @mattsse |
Same case here |
@mattsse could you reopen please? This is happening after I upgrade foundry version on ci moonwell-fi/moonwell-contracts-v2#437 |
Hi @anajuliabit This likely relates to the recent upgrade to default the To resolve this you could manually pass |
that doesn't seams to work @zerosnacks
|
@zerosnacks I believe this happens because moonbeam doesn't return a mixHash |
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (31f945c 2023-01-30T00:05:12.356073Z)
What command(s) is the bug in?
anvil --fork-url https://moonbeam.blastapi.io/<api_key>
Operating System
macOS (Apple Silicon)
Describe the bug
Attempting to deploy a contract to local fork of the Moonbeam network
Run the local node:
Deploy the contract:
Fails with:
The text was updated successfully, but these errors were encountered: