Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Replica snap sync on new L2 network #444

Closed
InoMurko opened this issue Jun 3, 2024 · 2 comments
Closed

Replica snap sync on new L2 network #444

InoMurko opened this issue Jun 3, 2024 · 2 comments

Comments

@InoMurko
Copy link

InoMurko commented Jun 3, 2024

Bug Description
Fresh l2 deploy with latest interop fork (1.7.6).
To the standard setup I would add 1 replica (with node and op-geth). Syncing from the sequencer op geth and main node.

The replica syncing never "finishes" even though it's syncing side by side.
Screenshot 2024-06-03 at 16 36 03

Left side is sequencer op-geth on the right is replica op-geth.

replica op-geth

curl --silent -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_ge
tBlockByNumber","params":["latest", false],"id":1}' localhost:8545 | jq .result
{
  "baseFeePerGas": "0x3b9aca00",
  "blobGasUsed": "0x0",
  "difficulty": "0x0",
  "excessBlobGas": "0x0",
  "extraData": "0x424544524f434b",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0x0",
  "hash": "0x2ae7af9dbed2737e1f895bcd641062f1fe11ee0a6bacd8f32d5ce288c5a6c7aa",
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "miner": "0x4200000000000000000000000000000000000011",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "nonce": "0x0000000000000000",
  "number": "0x0",
  "parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "size": "0x24e",
  "stateRoot": "0x523224a1aef4ca7cccab58687b0d7674ec6d6538fd1bea71ada3d83cb462ae65",
  "timestamp": "0x665dba60",
  "totalDifficulty": "0x0",
  "transactions": [],
  "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "uncles": [],
  "withdrawals": [],
  "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}

Note the block number is "number": "0x0",
Steps to Reproduce

  1. Outline the steps to reproduce the bug.
  2. Be specific and detailed to help developers replicate the issue.

Expected behavior
A clear and concise description of what you expected to happen.

Environment Information:

  • Operating System: [e.g. Ubuntu 20.04]
  • Package Version (or commit hash): [e.g. op-node v1.5.1, op-node c934019]

Configurations:
Replica op-geth:

  GETH_ROLLUP_DISABLETXPOOLGOSSIP: "true"
  GETH_FDLIMIT: "29000"
  GETH_ROLLUP_SEQUENCERHTTP: "http://op-geth:8545"
  GETH_RPC_GASCAP: "150000000"
GETH_WS_API: "eth,txpool,net,engine"
GETH_HTTP_PORT: "8545"
  GETH_HTTP_API: "web3,debug,eth,txpool,net,engine"

Replica node:

OP_NODE_L1_BEACON: http://l1-proxy:8080
  OP_NODE_L1_BEACON_IGNORE: "false"
  OP_NODE_L1_BEACON_ARCHIVER: http://blob-api:8000
  OP_NODE_L1_RPC_KIND: "basic"
  OP_NODE_RPC_ENABLE_ADMIN: "true"

Sequencer op-geth

GETH_SYNCMODE: "full"
  GETH_GCMODE: "archive"
  GETH_MAXPEERS: "1"
  GETH_HTTP_API: "web3,debug,eth,txpool,net,engine"

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.

@InoMurko
Copy link
Author

InoMurko commented Jun 3, 2024

replica op-geth:

curl --silent -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","id":1}' localhost:8545  | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "currentBlock": "0x0",
    "healedBytecodeBytes": "0x0",
    "healedBytecodes": "0x0",
    "healedTrienodeBytes": "0x0",
    "healedTrienodes": "0x0",
    "healingBytecode": "0x0",
    "healingTrienodes": "0x0",
    "highestBlock": "0x0",
    "startingBlock": "0x0",
    "syncedAccountBytes": "0x0",
    "syncedAccounts": "0x0",
    "syncedBytecodeBytes": "0x0",
    "syncedBytecodes": "0x0",
    "syncedStorage": "0x0",
    "syncedStorageBytes": "0x0",
    "txIndexFinishedBlocks": "0x0",
    "txIndexRemainingBlocks": "0x1"
  }
}
curl --silent -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' localhost:8545 | jq .result
{
  "baseFeePerGas": "0x3b9aca00",
  "blobGasUsed": "0x0",
  "difficulty": "0x0",
  "excessBlobGas": "0x0",
  "extraData": "0x424544524f434b",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0x0",
  "hash": "0x2ae7af9dbed2737e1f895bcd641062f1fe11ee0a6bacd8f32d5ce288c5a6c7aa",
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "miner": "0x4200000000000000000000000000000000000011",
  "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "nonce": "0x0000000000000000",
  "number": "0x0",
  "parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "size": "0x24e",
  "stateRoot": "0x523224a1aef4ca7cccab58687b0d7674ec6d6538fd1bea71ada3d83cb462ae65",
  "timestamp": "0x665dba60",
  "totalDifficulty": "0x0",
  "transactions": [],
  "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  "uncles": [],
  "withdrawals": [],
  "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}

@InoMurko
Copy link
Author

InoMurko commented Jun 3, 2024

sequencer geth:

curl --silent -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_ge
tBlockByNumber","params":["latest", false],"id":1}' localhost:8545 | jq .result
{
  "baseFeePerGas": "0xfc",
  "blobGasUsed": "0x0",
  "difficulty": "0x0",
  "excessBlobGas": "0x0",
  "extraData": "0x",
  "gasLimit": "0x1c9c380",
  "gasUsed": "0xab96",
  "hash": "0x1d798d12535126e5661a15d58cd41138627c8a42363150fc80e17324c584bf92",
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "miner": "0x4200000000000000000000000000000000000011",
  "mixHash": "0x6f49e0e5cea91b39cbffe31410b9c120ea5407faa87ad78ea7845131e364e417",
  "nonce": "0x0000000000000000",
  "number": "0x1380",
  "parentBeaconBlockRoot": "0x1ab66493f4ea65cf3ca8c0f4e6fce9937375467fe3536128dc4c804c74079041",
  "parentHash": "0x0b299502d815670e19528b2edb58fba9e804015ec033d86c5092096876ebfdf9",
  "receiptsRoot": "0x2d093508611c119cb54cff95e71ed6daa237bb00d92f34542ebc61e72cec9eec",
  "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  "size": "0x346",
  "stateRoot": "0x4d242db623d31265afa3a72ebf4536e6d11e7a18bd2633e5b2512bb0f6a01c67",
  "timestamp": "0x665de160",
  "totalDifficulty": "0x0",
  "transactions": [
    "0xa113f2437c0331bc7382b28945d101dcf3556238d1a7c64f6768514d9db28f38"
  ],
  "transactionsRoot": "0xfcbccccf43e5a5c107ed5954b98c96676df154745f883953fefcdbf42ad74922",
  "uncles": [],
  "withdrawals": [],
  "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
curl --silent -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_sy
ncing","id":1}' localhost:8545  | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": false
}

@ethereum-optimism ethereum-optimism locked and limited conversation to collaborators Jun 4, 2024
@sbvegan sbvegan converted this issue into discussion #447 Jun 4, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant