kaleido-io / quorum-tools

Easily set up Quorum networks using Raft or IBFT with docker
Apache License 2.0
9 stars 17 forks source link

Update instructions/deps to build with Quorum 23.4.0 #21

Closed vdamle closed 1 year ago

vdamle commented 1 year ago
vdamle commented 1 year ago

Tested locally with 4 nodes:

 ✔ Container bootnode                                                                                                                                      Recreated                                             0.0s
 ! bootnode The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested                                                       0.0s
 ✔ Container node_3                                                                                                                                        Recreated                                             0.1s
 ✔ Container node_1                                                                                                                                        Recreated                                             0.1s
 ✔ Container node_2                                                                                                                                        Recreated                                             0.0s
 ✔ Container node_4                                                                                                                                        Recreated                                             0.1s
 ! node_2 The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested                                                         0.0s
 ! node_4 The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested                                                         0.0s
 ! node_3 The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested                                                         0.0s
 ! node_1 The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested                                                         0.0s
Attaching to bootnode, node_1, node_2, node_3, node_4
bootnode  | enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@127.0.0.1:0?discport=30301
bootnode  | Note: you're using cmd/bootnode, a developer tool.
bootnode  | We recommend using a regular node as bootstrap node for production deployments.
bootnode  | INFO [07-31|22:04:14.480] New local node record                    seq=1 id=4697e6eb6fa21444 ip=<nil> udp=0 tcp=0
node_1    | [2023-07-31T22:04:15.955] [INFO] index.js - Checking dependencies
node_1    | [2023-07-31T22:04:15.983] [INFO] lib/boot.js - No /qdata/boot.config found, will look for required parameters in the command line args
node_1    | [2023-07-31T22:04:15.984] [INFO] lib/boot.js - bootnode: enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301
node_1    | [2023-07-31T22:04:15.985] [INFO] lib/boot.js - networkid: 2018
node_1    | [2023-07-31T22:04:15.988] [INFO] index.js - Configurations: {"bootnode":"enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301","network_id":2018}
node_3    | [2023-07-31T22:04:15.975] [INFO] index.js - Checking dependencies
node_3    | [2023-07-31T22:04:16.001] [INFO] lib/boot.js - No /qdata/boot.config found, will look for required parameters in the command line args
node_3    | [2023-07-31T22:04:16.002] [INFO] lib/boot.js - bootnode: enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301
node_3    | [2023-07-31T22:04:16.003] [INFO] lib/boot.js - networkid: 2018
node_3    | [2023-07-31T22:04:16.006] [INFO] index.js - Configurations: {"bootnode":"enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301","network_id":2018}
node_1    | Found nodes db in geth node, wiping it clean to force bonding with all peers in the chain
node_3    | Found nodes db in geth node, wiping it clean to force bonding with all peers in the chain
node_1    | [*] Setting up chain config & genesis block
node_3    | [*] Setting up chain config & genesis block
node_2    | [2023-07-31T22:04:16.065] [INFO] index.js - Checking dependencies
node_2    | [2023-07-31T22:04:16.098] [INFO] lib/boot.js - No /qdata/boot.config found, will look for required parameters in the command line args
node_2    | [2023-07-31T22:04:16.101] [INFO] lib/boot.js - bootnode: enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301
node_2    | [2023-07-31T22:04:16.101] [INFO] lib/boot.js - networkid: 2018
node_2    | [2023-07-31T22:04:16.104] [INFO] index.js - Configurations: {"bootnode":"enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301","network_id":2018}
node_4    | [2023-07-31T22:04:16.109] [INFO] index.js - Checking dependencies
node_4    | [2023-07-31T22:04:16.137] [INFO] lib/boot.js - No /qdata/boot.config found, will look for required parameters in the command line args
node_4    | [2023-07-31T22:04:16.138] [INFO] lib/boot.js - bootnode: enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301
node_4    | [2023-07-31T22:04:16.139] [INFO] lib/boot.js - networkid: 2018
node_4    | [2023-07-31T22:04:16.141] [INFO] index.js - Configurations: {"bootnode":"enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301","network_id":2018}
node_2    | Found nodes db in geth node, wiping it clean to force bonding with all peers in the chain
node_2    | [*] Setting up chain config & genesis block
node_4    | Found nodes db in geth node, wiping it clean to force bonding with all peers in the chain
node_4    | [*] Setting up chain config & genesis block
node_3    | INFO [07-31|22:04:16.495] Running with private transaction manager disabled - quorum private transactions will not be supported
node_1    | INFO [07-31|22:04:16.497] Running with private transaction manager disabled - quorum private transactions will not be supported
node_3    | INFO [07-31|22:04:16.512] Maximum peer count                       ETH=50 LES=0 total=50
node_3    | INFO [07-31|22:04:16.513] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
node_1    | INFO [07-31|22:04:16.513] Maximum peer count                       ETH=50 LES=0 total=50
node_1    | INFO [07-31|22:04:16.515] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
node_3    | WARN [07-31|22:04:16.525] Using deprecated resource file /qdata/ethereum/nodekey, please move this file to the 'geth' subdirectory of datadir.
node_3    | WARN [07-31|22:04:16.527] Found deprecated node list file /qdata/ethereum/static-nodes.json, please use the TOML config file instead.
node_3    | INFO [07-31|22:04:16.532] Enabling recording of key preimages since archive mode is used
node_1    | WARN [07-31|22:04:16.532] Using deprecated resource file /qdata/ethereum/nodekey, please move this file to the 'geth' subdirectory of datadir.
node_3    | INFO [07-31|22:04:16.533] Set global gas cap                       cap=25,000,000
node_3    | INFO [07-31|22:04:16.533] Allocated cache and file handles         database=/qdata/ethereum/geth/chaindata cache=16.00MiB handles=16
node_1    | WARN [07-31|22:04:16.534] Found deprecated node list file /qdata/ethereum/static-nodes.json, please use the TOML config file instead.
node_1    | INFO [07-31|22:04:16.540] Enabling recording of key preimages since archive mode is used
node_1    | INFO [07-31|22:04:16.541] Set global gas cap                       cap=25,000,000
node_1    | INFO [07-31|22:04:16.543] Allocated cache and file handles         database=/qdata/ethereum/geth/chaindata cache=16.00MiB handles=16
node_4    | INFO [07-31|22:04:16.643] Running with private transaction manager disabled - quorum private transactions will not be supported
node_3    | INFO [07-31|22:04:16.646] Persisted trie from memory database      nodes=5 size=779.00B time=1.154334ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_2    | INFO [07-31|22:04:16.654] Running with private transaction manager disabled - quorum private transactions will not be supported
node_3    | INFO [07-31|22:04:16.656] Successfully wrote genesis state         database=chaindata                      hash=910565..f83595
node_3    | INFO [07-31|22:04:16.656] Allocated cache and file handles         database=/qdata/ethereum/geth/lightchaindata cache=16.00MiB handles=16
node_4    | INFO [07-31|22:04:16.658] Maximum peer count                       ETH=50 LES=0 total=50
node_4    | INFO [07-31|22:04:16.659] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
node_1    | INFO [07-31|22:04:16.662] Persisted trie from memory database      nodes=5 size=779.00B time=1.210834ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_2    | INFO [07-31|22:04:16.672] Maximum peer count                       ETH=50 LES=0 total=50
node_2    | INFO [07-31|22:04:16.673] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
node_1    | INFO [07-31|22:04:16.685] Successfully wrote genesis state         database=chaindata                      hash=910565..f83595
node_1    | INFO [07-31|22:04:16.686] Allocated cache and file handles         database=/qdata/ethereum/geth/lightchaindata cache=16.00MiB handles=16
node_4    | WARN [07-31|22:04:16.701] Using deprecated resource file /qdata/ethereum/nodekey, please move this file to the 'geth' subdirectory of datadir.
node_2    | WARN [07-31|22:04:16.701] Using deprecated resource file /qdata/ethereum/nodekey, please move this file to the 'geth' subdirectory of datadir.
node_4    | WARN [07-31|22:04:16.704] Found deprecated node list file /qdata/ethereum/static-nodes.json, please use the TOML config file instead.
node_2    | WARN [07-31|22:04:16.704] Found deprecated node list file /qdata/ethereum/static-nodes.json, please use the TOML config file instead.
node_4    | INFO [07-31|22:04:16.718] Enabling recording of key preimages since archive mode is used
node_4    | INFO [07-31|22:04:16.718] Set global gas cap                       cap=25,000,000
node_2    | INFO [07-31|22:04:16.718] Enabling recording of key preimages since archive mode is used
node_2    | INFO [07-31|22:04:16.718] Set global gas cap                       cap=25,000,000
node_4    | INFO [07-31|22:04:16.719] Allocated cache and file handles         database=/qdata/ethereum/geth/chaindata cache=16.00MiB handles=16
node_2    | INFO [07-31|22:04:16.720] Allocated cache and file handles         database=/qdata/ethereum/geth/chaindata cache=16.00MiB handles=16
node_3    | INFO [07-31|22:04:16.736] Persisted trie from memory database      nodes=5 size=779.00B time="109.584µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_3    | INFO [07-31|22:04:16.741] Successfully wrote genesis state         database=lightchaindata                      hash=910565..f83595
node_1    | INFO [07-31|22:04:16.748] Persisted trie from memory database      nodes=5 size=779.00B time="188.584µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_1    | INFO [07-31|22:04:16.754] Successfully wrote genesis state         database=lightchaindata                      hash=910565..f83595
node_3    | [*] Starting node with args --datadir /qdata/ethereum --nodekey /qdata/ethereum/nodekey --miner.gaslimit 804247552 --miner.gasprice 0 --txpool.pricelimit 0 --port 30303 --http --http.port 8545 --http.ad
dr 0.0.0.0 --ws --ws.port 8546 --ws.addr 0.0.0.0 --allow-insecure-unlock --unlock 0 --password /qdata/ethereum/passwords.txt --verbosity 4 --nousb --bootnodes enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301 --permissioned --syncmode full --mine --http.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --ws.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --istanbul.blockperiod 5 --istanbul.requesttimeout 15000 --http.corsdomain '*' --ws.origins '*' --http.vhosts '*' --networkid 2018
node_4    | INFO [07-31|22:04:16.804] Persisted trie from memory database      nodes=5 size=779.00B time=1.143291ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_2    | INFO [07-31|22:04:16.805] Persisted trie from memory database      nodes=5 size=779.00B time=1.215583ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_1    | [*] Starting node with args --datadir /qdata/ethereum --nodekey /qdata/ethereum/nodekey --miner.gaslimit 804247552 --miner.gasprice 0 --txpool.pricelimit 0 --port 30303 --http --http.port 8545 --http.addr 0.0.0.0 --ws --ws.port 8546 --ws.addr 0.0.0.0 --allow-insecure-unlock --unlock 0 --password /qdata/ethereum/passwords.txt --verbosity 4 --nousb --bootnodes enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301 --permissioned --syncmode full --mine --http.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --ws.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --istanbul.blockperiod 5 --istanbul.requesttimeout 15000 --http.corsdomain '*' --ws.origins '*' --http.vhosts '*' --networkid 2018
node_4    | INFO [07-31|22:04:16.813] Successfully wrote genesis state         database=chaindata                      hash=910565..f83595
node_4    | INFO [07-31|22:04:16.814] Allocated cache and file handles         database=/qdata/ethereum/geth/lightchaindata cache=16.00MiB handles=16
node_2    | INFO [07-31|22:04:16.817] Successfully wrote genesis state         database=chaindata                      hash=910565..f83595
node_2    | INFO [07-31|22:04:16.818] Allocated cache and file handles         database=/qdata/ethereum/geth/lightchaindata cache=16.00MiB handles=16
node_4    | INFO [07-31|22:04:16.854] Persisted trie from memory database      nodes=5 size=779.00B time="134.583µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_2    | INFO [07-31|22:04:16.855] Persisted trie from memory database      nodes=5 size=779.00B time="123.584µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
node_2    | INFO [07-31|22:04:16.862] Successfully wrote genesis state         database=lightchaindata                      hash=910565..f83595
node_4    | INFO [07-31|22:04:16.866] Successfully wrote genesis state         database=lightchaindata                      hash=910565..f83595
node_2    | [*] Starting node with args --datadir /qdata/ethereum --nodekey /qdata/ethereum/nodekey --miner.gaslimit 804247552 --miner.gasprice 0 --txpool.pricelimit 0 --port 30303 --http --http.port 8545 --http.addr 0.0.0.0 --ws --ws.port 8546 --ws.addr 0.0.0.0 --allow-insecure-unlock --unlock 0 --password /qdata/ethereum/passwords.txt --verbosity 4 --nousb --bootnodes enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301 --permissioned --syncmode full --mine --http.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --ws.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --istanbul.blockperiod 5 --istanbul.requesttimeout 15000 --http.corsdomain '*' --ws.origins '*' --http.vhosts '*' --networkid 2018
node_4    | [*] Starting node with args --datadir /qdata/ethereum --nodekey /qdata/ethereum/nodekey --miner.gaslimit 804247552 --miner.gasprice 0 --txpool.pricelimit 0 --port 30303 --http --http.port 8545 --http.addr 0.0.0.0 --ws --ws.port 8546 --ws.addr 0.0.0.0 --allow-insecure-unlock --unlock 0 --password /qdata/ethereum/passwords.txt --verbosity 4 --nousb --bootnodes enode://973504942e8260307a1442046241e5dfc6a55a3065e3ce25d1a00b40315e127b62ba435237c7133b1d11940f1a8aadfea6c54766f337718b5d78ac26c20f4283@172.13.0.100:30301 --permissioned --syncmode full --mine --http.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --ws.api admin,db,eth,debug,miner,net,shh,txpool,personal,web3,istanbul --istanbul.blockperiod 5 --istanbul.requesttimeout 15000 --http.corsdomain '*' --ws.origins '*' --http.vhosts '*' --networkid 2018
root@6a62c4305060:/# geth attach qdata/ethereum/geth.ipc
Welcome to the Geth JavaScript console!

instance: Geth/v1.10.3-stable(quorum-v23.4.0)/linux-amd64/go1.19
coinbase: 0x7bead28484303a84322908a9072c448ec9ad3740
at block: 22 (Mon Jul 31 2023 22:05:47 GMT+0000 (UTC))
 datadir: /qdata/ethereum
 modules: admin:1.0 debug:1.0 eth:1.0 istanbul:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0