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

update local geth node / local arb validator set up script #1300

Open
DZGoldman opened this issue Jun 23, 2021 · 1 comment
Open

update local geth node / local arb validator set up script #1300

DZGoldman opened this issue Jun 23, 2021 · 1 comment

Comments

@DZGoldman
Copy link
Contributor

No description provided.

@pilagod
Copy link

pilagod commented Jun 30, 2021

Not sure if this issue addresses problems I face today. I clone arbitrum today and follows the doc of running local blockchain on master branch, but things not work properly.

Here are some points I found and hope following information can do you a favor:

yarn demo:initialize

  • This command throws Error: cannot estimate gas; transaction may fail or may require manual gas limit, and I try to manually set gas limit for inbox.depositEth in setup_validators_demo.ts and it works.

yarn demo:deploy

  • docker-compose.yaml generated from arb_deploy.py seems to use non-existing image arb-validator, this command only builds arb-avm-cpp and arb-node images.

  • After modifying compose template to use arb-node image, it looks like commands go/bin/arb-node and go/bin/arb-validator have unexpected interfaces in compose file:

    arb-validator current:

    entrypoint: '/home/user/go/bin/arb-validator'
    command: state http://arb-bridge-eth-geth:7545 0x2b39D5E8b1EFE16Fdb8ceD47c004733e345f4256 0xD02bEC7Ee5Ee73A271B144E829EeD1C19218D813 0xAa63764C8942343c903aA3469afe664f6E24FFe2 MakeNodes --password=pass
    

    expected:

    arb-validator1_1  | Sample usage: arb-validator --conf=<filename> 
    arb-validator1_1  |           or: arb-validator --persistent.storage.path=<path> --l1.url=<L1 RPC> --feed.input.url=<feed websocket>
    

    arb-node current:

    entrypoint: '/home/user/go/bin/arb-node'
    command: --sequencer --password=pass state http://arb-bridge-eth-geth:7545 0x2b39D5E8b1EFE16Fdb8ceD47c004733e345f4256
    

    expected:

    arb-node_1        | Sample usage:                  arb-node --conf=<filename> 
    arb-node_1        |           or:  forwarder node: arb-node --l1.url=<L1 RPC> [optional arguments]
    arb-node_1        | 
    arb-node_1        |           or: aggregator node: arb-node --l1.url=<L1 RPC> --node.type=aggregator [optional arguments] [--wallet.password=pass] [--wallet.gasprice==FloatInGwei]
    arb-node_1        |           or:       sequencer: arb-node --l1.url=<L1 RPC> --node.type=sequencer [optional arguments] [--wallet.password=pass] [--wallet.gasprice==FloatInGwei]
    

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

2 participants