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

create disputegame in devnet error #70

Open
zhouop0 opened this issue Sep 10, 2024 · 0 comments
Open

create disputegame in devnet error #70

zhouop0 opened this issue Sep 10, 2024 · 0 comments

Comments

@zhouop0
Copy link

zhouop0 commented Sep 10, 2024

Bug Description
all process in my local devnet:
It`s always throw an error when I invoke create method in DisputeGameFactory.sol. The error like this:
image

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
image

When create() method in DisputeputeGamesFactory.sol was invoked, it will invoke initialize() in FaultDisputeGame.sol.

image

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.

Steps to Reproduce
image

Expected behavior
The result I expect is to create a disputegame correctly, but it is not.

Environment Information:

Operating System: [MacOS]
Configurations:
Command line flags or environment variables you're using.

the devnet was launched by https://github.com/ethpandaops/optimism-package

my devnet config:
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

Logs:
Logs and/or error messages that help illustrate the issue.

Additional context
Add any other context about the problem here.

⚠️ Notice: Issues that do not include the following sections will be subject to closure:

Bug Description
Steps to Reproduce
Environment Information
Please ensure all required sections are filled out accurately to expedite the debugging process and improve issue resolution efficiency.

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

1 participant