Open iampkuhz opened 1 year ago
Can you provide us with your configuration and genesis files?
Any other details that may be relevant.
BTW, if I change data-storage-format from BONSAI to FOREST and clean data to re-sync, the sync works quite normal
data-path="/home/admin/node4/data" # Path
node-private-key-file="/home/admin/node4/conf/key"
bootnodes=["--(hidden)--"]
host-allowlist=["*"]
rpc-http-cors-origins=["all"]
p2p-host="--(hidden)--" p2p-port=30306 max-peers=42
rpc-http-enabled=true rpc-http-host="0.0.0.0" rpc-http-port=8548 rpc-http-api=["ETH","NET","QBFT", "DEBUG"]
permissions-nodes-config-file-enabled=true permissions-nodes-config-file="/home/admin/node4/conf/permissions_config.toml" static-nodes-file="/home/admin/node4/conf/static-nodes.json"
rpc-ws-host="0.0.0.0" rpc-ws-port=8604
genesis-file="/home/admin/node4/conf/genesis.json" # Path to the custom genesis file
discovery-enabled=true nat-method="NONE"
data-storage-format="BONSAI"
sync-mode="FULL"
tx-pool-limit-by-account-percentage=1
tx-pool-max-size="2000"
2. here is my genesis file
```json
{
"config" : {
"chainId" : 20230824001,
"berlinBlock" : 0,
"qbft" : {
"blockperiodseconds" : 4,
"epochlength" : 30000,
"requesttimeoutseconds" : 8
}
},
"nonce" : "0x0",
"timestamp" : "0x58ee40ba",
"gasLimit" : "0x1fffffffffffff",
"contractSizeLimit": 2147483647,
"difficulty" : "0x1",
"mixHash" : "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"coinbase" : "0x0000000000000000000000000000000000000000",
"alloc" : {
"3355ff1765cea77300d79b0821c10d69bbce4029" : {
"privateKey" : "--(hidden)--",
"comment" : "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance" : "0xad78ebc5ac6200000"
},
"5ee46326f4ee40e388730e63b9aeecaddc573771" : {
"privateKey" : "--(hidden)--",
"comment" : "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance" : "90000000000000000000000"
},
"fab25c4214ebab8f02563d1ab821f2fa337fcdb8" : {
"privateKey" : "--(hidden)--",
"comment" : "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance" : "90000000000000000000000"
},
"e0dbb7c3f8b8f875f01e277a7364fee98e252625" : {
"privateKey" : "--(hidden)--",
"comment" : "private key and this comment are ignored. In a real chain, the private key should NOT be stored",
"balance" : "90000000000000000000000"
}
},
"extraData" : "0xf87aa00000000000000000000000000000000000000000000000000000000000000000f854948ea92c56f8157187d8441babefa146701c414fe794d94f00cc3896283e21b7481759adcc57bf0d7205941a3a39ccbe340eaaa3cddece27fd4dc46f6cc8f7946ed28d2fd48ef53a7fe39f65c14a86ceccdfb457c080c0"
}
@matthew1001 any insight into this scenario? More fodder for Bonsai --> QBFT testing...
I've not done much with Bonsai yet, only Forest, so it's not a scenario I've tried myself. Does FULL
sync request all transactions from block 0 (I think it does?) and if so, can Bonsai nodes provide that?
Description
As an [Actor], I want [feature] so that [why].
Acceptance Criteria
Steps to Reproduce (Bug)
Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Frequency: [What percentage of the time does it occur?] I've tried restart the node but it still stucked.
Logs (if a bug)
Versions (Add all that apply)