celo-org / celo-blockchain

Official repository for the golang Celo Blockchain
https://celo.org
GNU Lesser General Public License v3.0
560 stars 198 forks source link

Test celo transaction replacement #2275

Closed palango closed 6 months ago

palango commented 7 months ago

This PR adds tests for replacing celo transactions in the txpool.

Adding this required extending the mocked contracts. It also found two issues:

  1. A comparison of fee currencies only checked the pointers, not the underlying addresses.
  2. There is the problem of rounding errors happening when calculating the required replacement fee values. For example if a 10% increase is required and a fee of 2 wei is offered by the old transaction, the calculation also rounded the new required fee down to 2 (2 * 110 / 100). I solved this by removing the division by 100. This might cause overflow, but I believe that this won't cause problems in reality as the fee amounts will never be this high. But please have a special look at this during the review.
github-actions[bot] commented 7 months ago

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit f92a23d1dde17ac90dac63b43c791b94726d1a1f

coverage: 50.1% of statements across all listed packages
coverage:  63.4% of statements in consensus/istanbul
coverage:  43.0% of statements in consensus/istanbul/announce
coverage:  55.9% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  62.0% of statements in consensus/istanbul/core
coverage:  50.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.2% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
github-actions[bot] commented 7 months ago

5891 passed, 1 failed, 45 skipped

Test failures:
  TestPriorityClient: geth

Failed
    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json] 
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.369] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.370] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.370] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.370] Allocated cache and file handles         database=/tmp/geth-test3825624070/celo/chaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.443] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.444] Persisted trie from memory database      nodes=4 size=566.00B time="58.997µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.444] Successfully wrote genesis state         database=chaindata                               hash=9195f2..122dcd
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.444] Allocated cache and file handles         database=/tmp/geth-test3825624070/celo/lightchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.495] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.495] Persisted trie from memory database      nodes=4 size=566.00B time="37.333µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.496] Successfully wrote genesis state         database=lightchaindata                          hash=9195f2..122dcd
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.496] Allocated cache and file handles         database=/tmp/geth-test3825624070/celo/lightestchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.546] Writing custom genesis block 
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.547] Persisted trie from memory database      nodes=4 size=566.00B time="39.309µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:31) INFO [03-12|13:29:29.547] Successfully wrote genesis state         database=lightestchaindata                       hash=9195f2..122dcd
    les_test.go:130: Importing keys to geth
    test_cmd.go:262: (stderr:32) INFO [03-12|13:29:29.591] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:32) INFO [03-12|13:29:29.592] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:32) INFO [03-12|13:29:29.592] Set global gas cap                       cap=25,000,000
    les_test.go:99: Starting lightserver with rpc: [--networkid=42 --port=0 --ipcpath geth-1.ipc --allow-insecure-unlock --datadir /tmp/geth-test3825624070 --password ./testdata/password.txt --unlock 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --mine --miner.validator 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --tx-fee-recipient 0x02f0d131f1f97aef08aec6e3291b957d9efe7105 --light.serve=100 --light.maxpeers=1 --nodiscover --nat=extip:127.0.0.1 --verbosity=4]
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.804] Maximum peer count                       ETH=175 LES=1 total=176
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.804] FS scan times                            list="58.718µs" set="3.397µs" diff="2.922µs"
    test_cmd.go:262: (stderr:33) WARN [03-12|13:29:29.805] LES server cannot serve old transaction status and cannot connect below les/4 protocol version if transaction lookup index is limited 
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.805] Sanitizing Go's GC trigger               percent=100
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.805] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.805] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.805] Allocated trie memory caches             clean=154.00MiB dirty=256.00MiB
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.805] Allocated cache and file handles         database=/tmp/geth-test3825624070/celo/chaindata cache=512.00MiB handles=524,288
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.891] Chain freezer table opened               database=/tmp/geth-test3825624070/celo/chaindata/ancient table=headers items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.893] Chain freezer table opened               database=/tmp/geth-test3825624070/celo/chaindata/ancient table=hashes  items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.901] Chain freezer table opened               database=/tmp/geth-test3825624070/celo/chaindata/ancient table=bodies  items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.902] Chain freezer table opened               database=/tmp/geth-test3825624070/celo/chaindata/ancient table=receipts items=0 size=0.00B
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.905] Chain freezer table opened               database=/tmp/geth-test3825624070/celo/chaindata/ancient table=diffs    items=0 size=0.00B
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.905] Opened ancient database                  database=/tmp/geth-test3825624070/celo/chaindata/ancient readonly=false
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.905] Current full block not old enough        number=0 hash=9195f2..122dcd delay=90000
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.905] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Churrito: <nil>, Donut: <nil>, Espresso: <nil>, Gingerbread: <nil>, Gingerbread P2: <nil>, Engine: istanbul}"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.906] Setting up Istanbul consensus engine 
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.929] Initialising Ethereum protocol           versions=[67] network=42 dbversion=<nil>
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.930] Loading Last State: 0 
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.930] Loaded most recent local header          number=0 hash=9195f2..122dcd td=1 age=54y11mo3w
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.930] Loaded most recent local full block      number=0 hash=9195f2..122dcd td=1 age=54y11mo3w
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.930] Loaded most recent local fast block      number=0 hash=9195f2..122dcd td=1 age=54y11mo3w
    test_cmd.go:262: (stderr:33) WARN [03-12|13:29:29.930] Failed to load snapshot, regenerating    err="missing or corrupted snapshot"
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.930] Rebuilding state snapshot 
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Journalled generator progress            progress=empty
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Start snapshot generation                root=8a7a77..f86ff6
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.931] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Registry contract not yet deployed       function=blockGasLimit registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Error calling blockGasLimit              err="Registry not deployed"         contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.931] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723348766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Registry contract not yet deployed       function=gasPriceMinimumFloor registryId=0x48766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.931] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Registry contract not yet deployed       function=intrinsicGasForAlternativeFeeCurrency registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.931] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Registry contract not yet deployed       function=getWhitelist                          registryId=0x8f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.931] getWhitelist invocation failed           err="Registry not deployed"
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.931] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.931] Reinjecting stale transactions           count=0
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.932] Regenerated local transaction journal    transactions=0 accounts=0
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.932] Resuming state snapshot generation       root=8a7a77..f86ff6 accounts=0 slots=0 storage=0.00B elapsed=1.043ms
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.932] Regenerated state range                  kind=storage prefix=0x6fc8292a2675fd2df398d2f757c44afe1b96e4c7ba26dac7ed67cdef77799ef404 root=09f508..8cb885 last=0x count=1 created=1 updated=0 untouched=0 deleted=0
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.932] Regenerated state range                  kind=account prefix=0x61 root=8a7a77..f86ff6 last=0x count=2 created=2 updated=0 untouched=0 deleted=0
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.932] Journalled generator progress            progress=done
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.932] Generated state snapshot                 accounts=2 slots=1 storage=230.00B elapsed=1.440ms
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.947] Allocated fast sync bloom                size=512.00MiB
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.947] Initialized state bloom                  items=5 errorrate=0.000 elapsed="343.054µs"
    test_cmd.go:262: (stderr:33) WARN [03-12|13:29:29.947] Error reading unclean shutdown markers   error="leveldb: not found"
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.947] Allocated cache and file handles         database=/tmp/geth-test3825624070/celo/les.server cache=16.00MiB  handles=16
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.958] Checkpoint oracle is not enabled 
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.958] Starting peer-to-peer node               instance=celo/v1.8.2-unstable/linux-amd64/go1.19.13
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.965] Mapped network port                      proto=tcp extport=39999 intport=39999 interface=ExtIP(127.0.0.1)
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.965] TCP listener up                          addr=[::]:39999
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.967] IPCs registered                          namespaces=admin,debug,web3,eth,txpool,personal,istanbul,miner,net,les
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.967] New local node record                    seq=1,710,250,169,966 id=56f0f597211d34f3 ip=127.0.0.1 udp=0 tcp=39999
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.967] IPC endpoint opened                      url=/tmp/geth-test3825624070/geth-1.ipc
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:29.967] Started P2P networking                   self="enode://3275479e25ff8676a546f70ce15cf5afbf6ccbaf112c30c246fa0005f65fb1df8706ef0d546e8f5393f2f67fe5b8645f530e0ce7719e540432ce071678a8c744@127.0.0.1:39999?discport=0" maxdialed=58 maxinbound=118
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:29.967] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233235a6f54090e9b94aa4e585a699c4375a2ff8f572c68114d138f0ed121527849 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.967] Registry contract not yet deployed       function=getElectableValidators                registryId=0x235a6f54090e9b94aa4e585a699c4375a2ff8f572c68114d138f0ed121527849
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:29.967] Snapshot is nil, creating from genesis 
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:30.052] Unlocked account                         address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:30.053] Starting istanbul.Engine validating 
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:30.053] Open roundstate db                       func=newRoundStateDB type=roundStateDB rsdb_path=/tmp/geth-test3825624070/celo/roundstates
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:30.053] Allocated cache and file handles         database=/tmp/geth-test3825624070/celo/roundstates cache=512.00MiB handles=500
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.053] NewWork called, acquiring core lock      func=NewWork
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:30.066] Creating new RoundState                  address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=createRoundState cur_seq=0 cur_epoch=0 cur_round=-1 des_round=-1 state="Accept request" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 reason="No storedView found"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.066] Posting FinalCommittedEvent              func=NewWork
    test_cmd.go:262: (stderr:33) WARN [03-12|13:29:30.067] New sequence should be larger than current sequence address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105 func=startNewSequence tag=stateTransition head_block=0 head_block_hash=9195f2..122dcd cur_seq=1 cur_epoch=1 cur_round=0  des_round=0  state="Accept request" address=0x02F0d131F1f97aef08aEc6E3291B957d9Efe7105
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry contract not yet deployed       function=blockGasLimit                         registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Error calling blockGasLimit              err="Registry not deployed"         contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry contract not yet deployed       function=intrinsicGasForAlternativeFeeCurrency registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry contract not yet deployed       function=getWhitelist                          registryId=0x8f897d9543fdc9082789208180c3e3d11f7473aaef3e249ab0020ea0c761c1b6
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] getWhitelist invocation failed           err="Registry not deployed"
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723302dfe2d0485b616b61db1800f30f4a14b26754b328fa09ba4ec73ee7276766cc maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry address lookup failed           err="Registry not deployed"         contract=0x02dfe2d0485b616b61db1800f30f4a14b26754b328fa09ba4ec73ee7276766cc
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry contract not yet deployed       function=totalSupply                           registryId=0xd7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd9272338b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry contract not yet deployed       function=blockGasLimit                         registryId=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Error calling blockGasLimit              err="Registry not deployed"         contract=0x8b91d837e1684f7353d73b6197230894243cf869282f722841df96b441303f37
    test_cmd.go:262: (stderr:33) ERROR[03-12|13:29:30.067] Error invoking evm function: EVM call failure to=0x000000000000000000000000000000000000ce10 method=getAddressFor input=0xdd92723348766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42 maxgas=100,000 err="execution reverted"            message="No Implementation set"
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Registry contract not yet deployed       function=updateGasPriceMinimum                 registryId=0x48766a30bcca8b3c8b03b4e4b1f6510aee73f7b41aa6c7578a97040d20334f42
    test_cmd.go:262: (stderr:33) DEBUG[03-12|13:29:30.067] Finalized                                func=Finalize         block=1 epochSize=30000 duration="155.959µs" lastInEpoch=false
    test_cmd.go:262: (stderr:33) WARN [03-12|13:29:30.067] Block sealing failed                     err="not an elected validator"
    test_cmd.go:262: (stderr:33) INFO [03-12|13:29:30.067] Commit new mining work                   number=1 txs=0 gas=0 fees=0 elapsed="821.767µs"
    les_test.go:121: Initializing geth: [--networkid=42 init ./testdata/clique.json] 
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.303] Maximum peer count                       ETH=175 LES=0 total=175
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.304] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.304] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.304] Allocated cache and file handles         database=/tmp/geth-test3612109962/celo/chaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.433] Writing custom genesis block 
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.434] Persisted trie from memory database      nodes=4 size=566.00B time="78.577µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.435] Successfully wrote genesis state         database=chaindata                               hash=9195f2..122dcd
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.435] Allocated cache and file handles         database=/tmp/geth-test3612109962/celo/lightchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.465] Writing custom genesis block 
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.465] Persisted trie from memory database      nodes=4 size=566.00B time="34.723µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.466] Successfully wrote genesis state         database=lightchaindata                          hash=9195f2..122dcd
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.466] Allocated cache and file handles         database=/tmp/geth-test3612109962/celo/lightestchaindata cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.476] Writing custom genesis block 
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.476] Persisted trie from memory database      nodes=4 size=566.00B time="37.11µs"  gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=-82.00B
    test_cmd.go:262: (stderr:34) INFO [03-12|13:29:30.477] Successfully wrote genesis state         database=lightestchaindata                       hash=9195f2..122dcd
    les_test.go:99: Starting freeCli with rpc: [--networkid=42 --port=0 --ipcpath geth-2.ipc --datadir /tmp/geth-test3612109962 --nodiscover --syncmode=light --nat=extip:127.0.0.1 --verbosity=4]
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:30.563] Dropping default light client cache      provided=1024 updated=128
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:30.565] Maximum peer count                       ETH=0 LES=10 total=175
    test_cmd.go:262: (stderr:35) DEBUG[03-12|13:29:30.565] FS scan times                            list="35.61µs" set=383ns diff="1.167µs"
    test_cmd.go:262: (stderr:35) DEBUG[03-12|13:29:30.566] Sanitizing Go's GC trigger               percent=100
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:30.566] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:30.566] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:30.566] Allocated cache and file handles         database=/tmp/geth-test3612109962/celo/lightchaindata cache=64.00MiB handles=524,288
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:30.720] Allocated cache and file handles         database=/tmp/geth-test3612109962/celo/les.client cache=16.00MiB handles=16
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:31.488] Initialised chain configuration          config="{ChainID: 15 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Churrito: <nil>, Donut: <nil>, Espresso: <nil>, Gingerbread: <nil>, Gingerbread P2: <nil>, Engine: istanbul}"
    test_cmd.go:262: (stderr:35) DEBUG[03-12|13:29:31.489] Setting up Istanbul consensus engine 
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:34.415] Loaded most recent local header          number=0 hash=9195f2..122dcd td=1 age=54y11mo3w
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:34.415] Checkpoint oracle is not enabled 
    test_cmd.go:262: (stderr:35) WARN [03-12|13:29:34.415] Error reading unclean shutdown markers   error="leveldb: not found"
    test_cmd.go:262: (stderr:35) INFO [03-12|13:29:34.415] Starting peer-to-peer node               instance=celo/v1.8.2-unstable/linux-amd64/go1.19.13
    les_test.go:115: freeCli rpc connect to /tmp/geth-test3612109962/geth-2.ipc: dial unix /tmp/geth-test3612109962/geth-2.ipc: connect: no such file or directory
This test report was produced by the test-summary action.  Made with ❤️ in Cambridge.