You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to setup a private network that is gasless and able to submit contracts
Acceptance Criteria
able to get my contract deployed and transactions approved.
Steps to Reproduce (Bug)
setup my besu using ibft2 with 4 validators and 1 rpc node
validators are up and running and able to create blocks.
when i sent a test raw transaction t send eth, it is not getting confirmed and pending in the txpool
Expected behavior: [What you expect to happen]
able to get my transaction confirmed
Actual behavior: [What actually happens]
transactions are pending Frequency: [What percentage of the time does it occur?]
100%
Logs (if a bug)
Please post relevant logs from Besu (and the consensus client, if running proof of stake) from before and after the issue.
2024-10-18 04:35:03.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,073 / 0 tx / 1 pending / 0 (0.0%) gas / (0xa13307f072a5713c1a1d19e9fee16323d0ff85964e8d23fcf482585cffbddff6) 2024-10-18 04:35:05.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,074 / 0 tx / 1 pending / 0 (0.0%) gas / (0x53aaa499e48212a3e434870076a704df5189a970934c4fbaba293d72c9cae07f) 2024-10-18 04:35:07.016+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1075 (0x1ff6bf60a1fdfa4a78a62fcf57e994c020f4e6374ca0c9a321dd9d04a23b96ba) is already imported 2024-10-18 04:35:07.018+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,075 / 0 tx / 1 pending / 0 (0.0%) gas / (0x1ff6bf60a1fdfa4a78a62fcf57e994c020f4e6374ca0c9a321dd9d04a23b96ba) 2024-10-18 04:35:09.012+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Produced #1,076 / 0 tx / 1 pending / 0 (0.0%) gas / (0xb09c2808dbaf69b15d15c2e879dc6ca37121c87ee86336f8c35f75be98b7367b) 2024-10-18 04:35:11.012+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1077 (0x05e359653f936fb4e44c28c0ef1fbdc61d02a45f633374ae39968d561c39998d) is already imported 2024-10-18 04:35:11.013+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,077 / 0 tx / 1 pending / 0 (0.0%) gas / (0x05e359653f936fb4e44c28c0ef1fbdc61d02a45f633374ae39968d561c39998d) 2024-10-18 04:35:13.011+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1078 (0xc401550a871ac0fcf4f16f39be010175ec9765921474d4a59b0d381100bb3224) is already imported 2024-10-18 04:35:13.013+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,078 / 0 tx / 1 pending / 0 (0.0%) gas / (0xc401550a871ac0fcf4f16f39be010175ec9765921474d4a59b0d381100bb3224) 2024-10-18 04:35:15.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,079 / 0 tx / 1 pending / 0 (0.0%) gas / (0xcda4d8d317c0401957e93fbd06ba300ec56e6ee9b7b676f425fa9dbfca4c831f) 2024-10-18 04:35:17.012+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1080 (0x0a9b7b41de3542ed6eb0a5968789609a688ac4abd816b7705524295169bec18c) is already imported 2024-10-18 04:35:17.014+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Produced #1,080 / 0 tx / 1 pending / 0 (0.0%) gas / (0x0a9b7b41de3542ed6eb0a5968789609a688ac4abd816b7705524295169bec18c) 2024-10-18 04:35:19.010+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,081 / 0 tx / 1 pending / 0 (0.0%) gas / (0x705f63ed1488337c8c40b5fcee740eb1f685cf818348f2ccfdb0bc8fbbeefbe1) 2024-10-18 04:35:21.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,082 / 0 tx / 1 pending / 0 (0.0%) gas / (0x45320130d441a6451245c7dfeb9494ed18169c6a4f6244591f20810890cba791) 2024-10-18 04:35:23.014+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Imported empty block #1,083 / 0 tx / 0 om / 0 (0.0%) gas / (0x6d5a9f750e2e02e713a6a0b0063fcb36a31fb30cf264c153efee7d34a6f085df) in 0.001s. Peers: 4
Versions (Add all that apply)
Software version: [besu --version] 24.10.0
Java version: [java -version] openjdk 21
OS Name & Version: [cat /etc/*release] rhel9
Kernel Version: [uname -a] Linux xxx.ap-southeast-1.compute.internal 5.14.0-427.20.1.el9_4.x86_64 Update Jenkins Build for Pantheon → Besu considerations #1 SMP PREEMPT_DYNAMIC Thu May 23 16:37:13 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
Virtual Machine software & version: [vmware -v] na
Docker Version: [docker version] na
Cloud VM, type, size: [Amazon Web Services I3-large] ec2 t2-micro
Consensus Client & Version if using Proof of Stake: [e.g. Teku, Lighthouse, Prysm, Nimbus, Lodestar] ibft2
Smart contract information (If you're reporting an issue arising from deploying or calling a smart contract, please supply related information)
Solidity version [solc --version]
Repo with minimal set of deployable/reproducible contract code - please provide a link
Please include specifics on how you are deploying/calling the contract
Have you reproduced the issue on other eth clients
Additional Information (Add any of the following or anything else that may be relevant)
I tried sending transactions with gasfee 1 apparently the transactions went through. It seems that even though the chain is started as a zero gass fee network (confirmed during startup), it seems that it still requires gas fee. Not sure if it is a bug or not..
I managed to solved it by changing the genesis to start with londonblock and zerobasefee=true and able to take in 0 gas fee in transactions and it is getting confirmed. Seems berlinblock has issues with zero gas fees
Description
i want to setup a private network that is gasless and able to submit contracts
Acceptance Criteria
able to get my contract deployed and transactions approved.
Steps to Reproduce (Bug)
setup my besu using ibft2 with 4 validators and 1 rpc node
validators are up and running and able to create blocks.
when i sent a test raw transaction t send eth, it is not getting confirmed and pending in the txpool
Expected behavior: [What you expect to happen]
able to get my transaction confirmed
Actual behavior: [What actually happens]
transactions are pending
Frequency: [What percentage of the time does it occur?]
100%
Logs (if a bug)
Please post relevant logs from Besu (and the consensus client, if running proof of stake) from before and after the issue.
2024-10-18 04:35:03.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,073 / 0 tx / 1 pending / 0 (0.0%) gas / (0xa13307f072a5713c1a1d19e9fee16323d0ff85964e8d23fcf482585cffbddff6) 2024-10-18 04:35:05.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,074 / 0 tx / 1 pending / 0 (0.0%) gas / (0x53aaa499e48212a3e434870076a704df5189a970934c4fbaba293d72c9cae07f) 2024-10-18 04:35:07.016+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1075 (0x1ff6bf60a1fdfa4a78a62fcf57e994c020f4e6374ca0c9a321dd9d04a23b96ba) is already imported 2024-10-18 04:35:07.018+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,075 / 0 tx / 1 pending / 0 (0.0%) gas / (0x1ff6bf60a1fdfa4a78a62fcf57e994c020f4e6374ca0c9a321dd9d04a23b96ba) 2024-10-18 04:35:09.012+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Produced #1,076 / 0 tx / 1 pending / 0 (0.0%) gas / (0xb09c2808dbaf69b15d15c2e879dc6ca37121c87ee86336f8c35f75be98b7367b) 2024-10-18 04:35:11.012+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1077 (0x05e359653f936fb4e44c28c0ef1fbdc61d02a45f633374ae39968d561c39998d) is already imported 2024-10-18 04:35:11.013+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,077 / 0 tx / 1 pending / 0 (0.0%) gas / (0x05e359653f936fb4e44c28c0ef1fbdc61d02a45f633374ae39968d561c39998d) 2024-10-18 04:35:13.011+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1078 (0xc401550a871ac0fcf4f16f39be010175ec9765921474d4a59b0d381100bb3224) is already imported 2024-10-18 04:35:13.013+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,078 / 0 tx / 1 pending / 0 (0.0%) gas / (0xc401550a871ac0fcf4f16f39be010175ec9765921474d4a59b0d381100bb3224) 2024-10-18 04:35:15.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,079 / 0 tx / 1 pending / 0 (0.0%) gas / (0xcda4d8d317c0401957e93fbd06ba300ec56e6ee9b7b676f425fa9dbfca4c831f) 2024-10-18 04:35:17.012+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Block 1080 (0x0a9b7b41de3542ed6eb0a5968789609a688ac4abd816b7705524295169bec18c) is already imported 2024-10-18 04:35:17.014+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Produced #1,080 / 0 tx / 1 pending / 0 (0.0%) gas / (0x0a9b7b41de3542ed6eb0a5968789609a688ac4abd816b7705524295169bec18c) 2024-10-18 04:35:19.010+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,081 / 0 tx / 1 pending / 0 (0.0%) gas / (0x705f63ed1488337c8c40b5fcee740eb1f685cf818348f2ccfdb0bc8fbbeefbe1) 2024-10-18 04:35:21.011+00:00 | BftProcessorExecutor-IBFT-0 | INFO | IbftBesuControllerBuilder | Imported #1,082 / 0 tx / 1 pending / 0 (0.0%) gas / (0x45320130d441a6451245c7dfeb9494ed18169c6a4f6244591f20810890cba791) 2024-10-18 04:35:23.014+00:00 | EthScheduler-Workers-0 | INFO | PersistBlockTask | Imported empty block #1,083 / 0 tx / 0 om / 0 (0.0%) gas / (0x6d5a9f750e2e02e713a6a0b0063fcb36a31fb30cf264c153efee7d34a6f085df) in 0.001s. Peers: 4
Versions (Add all that apply)
Software version: [
besu --version
] 24.10.0Java version: [
java -version
] openjdk 21OS Name & Version: [
cat /etc/*release
] rhel9Kernel Version: [
uname -a
] Linux xxx.ap-southeast-1.compute.internal 5.14.0-427.20.1.el9_4.x86_64 Update Jenkins Build for Pantheon → Besu considerations #1 SMP PREEMPT_DYNAMIC Thu May 23 16:37:13 EDT 2024 x86_64 x86_64 x86_64 GNU/LinuxVirtual Machine software & version: [
vmware -v
] naDocker Version: [
docker version
] naCloud VM, type, size: [Amazon Web Services I3-large] ec2 t2-micro
Consensus Client & Version if using Proof of Stake: [e.g. Teku, Lighthouse, Prysm, Nimbus, Lodestar] ibft2
Smart contract information (If you're reporting an issue arising from deploying or calling a smart contract, please supply related information)
solc --version
]Additional Information (Add any of the following or anything else that may be relevant)
genesis file#
{
"config" : {
"chainId" : 112023,
"berlinBlock" : 0,
"contractSizeLimit": 2147483647,
"ibft2" : {
"blockperiodseconds" : 2,
"epochlength" : 30000,
"requesttimeoutseconds" : 4
}
},
"nonce" : "0x0",
"timestamp" : "0x58ee40ba",
"gasLimit" : "0x1fffffffffffff",
"difficulty" : "0x1",
"mixHash" : "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"coinbase" : "0x0000000000000000000000000000000000000000",
"alloc" : {
"fe3b557e8fb62b89f4916b721be55ceb828dbd73" : {
"balance" : "0xad78ebc5ac6200000"
},
"627306090abaB3A6e1400e9345bC60c78a8BEf57" : {
"balance" : "90000000000000000000000"
},
"f17f52151EbEF6C7334FAD080c5704D77216b732" : {
"balance" : "90000000000000000000000"
}
},
"extraData" : "0xf87ea00000000000000000000000000000000000000000000000000000000000000000f854946663516ffd62bf68dc10c04e80353576b843a76794cc749f56157f0f5daae7aecce641722b807c66af940db38f49026dac42db9adf65e94d8e905110d2829488bb2fa8d2e50344d2b52f9bbddc7396ce5da4a2808400000000c0"
}
validator node config file#
data-path="/opt/syst/besu/data" # Path
bootnodes=["enode://d361a6527c20de2bd332090b95acdff697cc708b58889b46b74b18d48a277ab2752a8a202e8b354215611207168ffea32347f2ae3c6b9ab2aa851c6562b96fe6@xxx:30303","enode://e79e594ecb09b28f2658bc5931c908f6d186c5b71e89a8384a0b7efb4a148179817df4328cee84291339aefdd3c94fbbda14d243cca232d632cb1a0f4deb03f0@xxx:30303","enode://a233fc85b9ee21ce42fedd8a3100e01150c2a9fe0cdc85d4b778609f583db2926aeedd7554e0d01a1637e593e2f3471feb32a6fc829e8655a1532b382e6faea4@xxx:30303","enode://dda98f3c87640ad264f8a0b74992d403758268e2e9a4d9f6ca5a7dadf5146c118e175c0b775909cc00910b0e3c149b9c6dccf00134830808b8956ab425307d07@xxx:30303"]
p2p-host="xxx"
p2p-port=30303
max-peers=42
host-allowlist=["*"]
metrics-enabled=true
metrics-host="xxx"
metrics-port=9545
metrics-protocol="PROMETHEUS"
min-gas-price=0
genesis-file="/opt/syst/besu/data/genesis.json" # Path to the custom genesis file
RPC node config#
data-path="/opt/syst/besu/data" # Path
bootnodes=["enode://d361a6527c20de2bd332090b95acdff697cc708b58889b46b74b18d48a277ab2752a8a202e8b354215611207168ffea32347f2ae3c6b9ab2aa851c6562b96fe6@xxx:30303","enode://e79e594ecb09b28f2658bc5931c908f6d186c5b71e89a8384a0b7efb4a148179817df4328cee84291339aefdd3c94fbbda14d243cca232d632cb1a0f4deb03f0@xxx:30303","enode://a233fc85b9ee21ce42fedd8a3100e01150c2a9fe0cdc85d4b778609f583db2926aeedd7554e0d01a1637e593e2f3471feb32a6fc829e8655a1532b382e6faea4@xxx:30303","enode://dda98f3c87640ad264f8a0b74992d403758268e2e9a4d9f6ca5a7dadf5146c118e175c0b775909cc00910b0e3c149b9c6dccf00134830808b8956ab425307d07@xxx:30303"]
p2p-host="xxx"
p2p-port=30303
max-peers=42
rpc-http-enabled=true
rpc-http-api=["ETH","NET","WEB3", "IBFT", "TRACE", "DEBUG", "PRIV", "TXPOOL", "EEA"]
rpc-http-host="xxx"
rpc-http-port=8545
host-allowlist=[""]
rpc-http-cors-origins=[""]
rpc-ws-enabled=true
rpc-ws-host="xxx"
rpc-ws-port=8546
metrics-enabled=true
metrics-host="xxx"
metrics-port=9545
metrics-protocol="PROMETHEUS"
min-gas-price=0
genesis-file="/opt/syst/besu/data/genesis.json" # Path to the custom genesis file
The text was updated successfully, but these errors were encountered: