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
So I found '0x6a6bc3b2' means AnchorRootNotFound(), and I found this error throw by FaultDisputeGame.sol
When create() method in DisputeputeGamesFactory.sol was invoked, it will invoke initialize() in FaultDisputeGame.sol.
Combining the above information, I find that the error reported by executing the create() method is caused by the fact that there is no data in anchors.
If I want to have data, I have to call the tryUpdateAnchorState() method, but in these contracts, it's only called when the disputegame resolve method is available. But at this point there is no disputegame on the chain so I can't call it, and eventually I can never create a disputegame.
The following is my environmental information:
My devnet config like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Recently, I want to know how to create dispute game in local devnet. so I launched a devnet in local by https://github.com/ethpandaops/optimism-package.
It`s always throw an error when I invoke create method in DisputeGameFactory.sol. The error like this:
decode transaction:
code: 3, data: '0x6a6bc3b2', url: 'http://localhost:32773', body: '{"method":"eth_call","params":[{"gas":"0x493df","gasPrice":"0x3b9aca07","nonce":"0x1","value":"0x0","from":"0x8943545177806ED17B9F23F0a21ee5948eCaa776","to":"0x8d8C34f63e9812d862CE46AC302ec0D7F72742B6","data":"0x82ecf2f60000000000000000000000000000000000000000000000000000000000000000bf0ff8bce299cb60b271e079e7ed8df825cadb5a733b777cda2c00cefc01c430000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000320"},"latest"],"id":44,"jsonrpc":"2.0"}', responseText: '{"jsonrpc":"2.0","id":44,"error":{"code":3,"message":"execution reverted","data":"0x6a6bc3b2"}}\n'
So I found '0x6a6bc3b2' means AnchorRootNotFound(), and I found this error throw by FaultDisputeGame.sol
When create() method in DisputeputeGamesFactory.sol was invoked, it will invoke initialize() in FaultDisputeGame.sol.
Combining the above information, I find that the error reported by executing the create() method is caused by the fact that there is no data in anchors.
If I want to have data, I have to call the tryUpdateAnchorState() method, but in these contracts, it's only called when the disputegame resolve method is available. But at this point there is no disputegame on the chain so I can't call it, and eventually I can never create a disputegame.
The following is my environmental information:
My devnet config like this:
optimism_package:
participants:
- el_type: op-geth
cl_type: op-node
ethereum_package:
participants:
- el_type: geth
network_params:
preset: minimal
additional_services:
- dora
- blockscout
What can I do to make my call create() successful?
Beta Was this translation helpful? Give feedback.
All reactions