-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Description
Hi, I am using quorum node with version 24.4.1. I am facing "oversized data" error while sending tx of size above ^64KB.
Initially, I setup the node with genesis.json where as gasLimit=0x47b760 and txnSizeLimit=64.
{
"nonce": "0x0",
"timestamp": "0x58ee40ba",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000a49eddef4c5d9a72d011af04a6d49b7d6649b3b378f844149901fce80046da84323d09abafccf52f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x47b760",
"gasUsed": "0x0",
"number": "0x0",
"difficulty": "0x1",
"coinbase": "0x0000000000000000000000000000000000000000",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"config": {
"chainId": 1337,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirglacierblock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"isQuorum": true,
"maxCodeSizeConfig": [
{
"block": 0,
"size": 64
}
],
"txnSizeLimit": 64,
"clique": {
"policy": 0,
"period": 10,
"epoch": 30000
}
},
"alloc": {
"ABC": {
"balance": "XYZ"
},
"XYZ": {
"balance": "XYZ"
}
}
But I am facing "oversized data" error while performing send tx of size above ^64KB. Hence I updated the gensis.json file gasLimit= 0x218711a00 and txnSizeLimit=128.
{
"nonce": "0x0",
"timestamp": "0x58ee40ba",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000a49eddef4c5d9a72d011af04a6d49b7d6649b3b378f844149901fce80046da84323d09abafccf52f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x218711a00",
"gasUsed": "0x0",
"number": "0x0",
"difficulty": "0x1",
"coinbase": "0x0000000000000000000000000000000000000000",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"config": {
"chainId": 1337,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirglacierblock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"isQuorum": true,
"maxCodeSizeConfig": [
{
"block": 0,
"size": 64
}
],
"txnSizeLimit": 128,
"clique": {
"policy": 0,
"period": 10,
"epoch": 30000
}
},
"alloc": {
"ABC": {
"balance": "XYZ"
},
"XYZ": {
"balance": "XYZ"
}
}
After changing the genesis.json file I get below error on my node.
quorum-node Fatal: Failed to write genesis block: database contains incompatible genesis (have 04a4adddb15c6ddd6b6355aba675822a575919e6ed4f537ea85b506c8061f1a9, new 6c6be2ce827e28b89bb65ed2360e00839e9de6ee48041153f792d4df38eb5e30)
However, when I start the node from scratch it pickups new configuration.
Questions?
- Can I update the
gasLimit= 0x218711a00andtxnSizeLimit=128on my exisiting node or I need to reset the node from scratch? - Can I change the genesis block
04a4adddb15c6ddd6b6355aba675822a575919e6ed4f537ea85b506c8061f1a9to6c6be2ce827e28b89bb65ed2360e00839e9de6ee48041153f792d4df38eb5e30?
Metadata
Metadata
Assignees
Labels
No labels