Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to London fork gas pricing #657

Closed
sync-by-unito bot opened this issue Sep 7, 2021 · 6 comments
Closed

Move to London fork gas pricing #657

sync-by-unito bot opened this issue Sep 7, 2021 · 6 comments
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Sep 7, 2021

We need to support transaction pricing improvements introduced in Ethereum London fork

┆Issue is synchronized with this Jira Task

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Sep 8, 2021

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Dec 23, 2021

➤ Automation for Jira commented:

Corresponding Pull Request skalenetwork/transaction-manager#234

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Jan 11, 2022

➤ Automation for Jira commented:

Corresponding Pull Request skalenetwork/skale.py#464

@sync-by-unito sync-by-unito bot closed this as completed Jan 21, 2022
@sync-by-unito
Copy link
Author

sync-by-unito bot commented Feb 8, 2022

➤ Oleksandr Sydorenko commented:

Checked on Ropsten network
transaction-manager:2.1.0-beta.0
The first attempt timestamp is only 10 seconds - block mining time on the mainnet is between 12-14 seconds, so the first attempt always will be failed

Estimate for transactions fee
baseFee - default for block
maxFeePerGas - estimated by TM and equals to mainnet
maxPriorityFeePerGas': 2500000000 - estimated by TM and equals to mainnet

transaction broadcast
https://ropsten.etherscan.io/tx/0x4b1797e5baf068269e501f107f000ec625e4a6e3bf5350be0bea350fba983ea3 ( https://ropsten.etherscan.io/tx/0x4b1797e5baf068269e501f107f000ec625e4a6e3bf5350be0bea350fba983ea3 )

logs from TM

2022-02-08 13:22:01,485 [INFO] [processor:187] Pool: [b'tx-bed703322438735c']
2022-02-08 13:22:01,486 [INFO] [txpool:58] Received record b'{"status": "PROPOSED", "score": 51644326521, "multiplier": null, "tx_hash": null, "chainId": 3, "gas": null, "nonce": null, "value": 0, "gasPrice": 50000000000, "to": "0x309180475e7a8De40e6D9F770137D2A680ff1e8E", "data": "0x7d93019b3590798490eeaaa542618b6521f2eb63fa128ac281d099fe4c4755767bc1ec5b000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000301787c9b55a3ec37864d29b7aca214a16f1c15fb02e5f30a522283374c6d5d1c2f53534d3dfe159f173f3f266cde695861b65c78f5b69ff8c45ac574716c9c1b0ce997617933a74d4a8bf5f20fb712a515a0a9fd4baa87eaec3468723cf07458246ddc834b397658fc7c4eb1aa2d0e39d2fdb2dceaa7b785c35e46399365d7b307f90d44528252cb62ee52449f23ee2baa318a8f1f28ff1bb321df134d9d71e0005dc4da00751dc0dbc37e7522b584972b9a74c3180e05568011e00fbb6921a120f55511e58df5103d9dc59ff446586ed680d617be27eca9057df897bf744f9d0abc8a090047b5700ccc439c126e0301feaede5fa6797fbf7181503322f5ad4c2e48c6e600b5ab7865475e8acd5c93e87aca278cdae87c80406144c660dca11125287e0cf20517a42d01843205d9f3e9afe028674fd374379bce4fc68e765e742084741229226a34a73a080c6c30417d224855b74dea7c0e99665d78a6b62d3613e5705ede3e51b89c18afa31ef6d26b5c783e0a157accb052eecbc77f1282e100000000000000000000000000000000000000000000000000000000000000043bb41b586436ce1131a9d75402c60cb45cc61d55dc73b4a8328c6c820946133fe5fb2ae4156181de4e81c6d73c6625590af6e4dbdfe3acf8a93bc23e7858508213f9c372ec0058b47753a86d566666950c08439342a746b9e452a5b5369d5b7f5d85db36ac8ea1ff122e37dad8a15c1fa71adcf0735b09c64d65b5eaa3b88a4d87f97e03b9e5751a1643c9c48b535f025c700654efe88e1767d1126027fd712fb5c8d271cb8104ca217614e04307966a65340d35ed9ecc04747046f116e0ffff82b56191e7efdca02b58474bdd8e930c4a653ef7a328fdb24cbba5823f552c605520e20d8110d3ae0e492d2bc5e9ad1a651e4da689c5aa4c5cec4b0b8034f7884c63325066ec7ce7e29b656c0ab78b0b58a3795cc3bfc7d9709d04682d145c1eab36001886ee88465552b0d52bef69c757a3d5a7e09cfa9dad839054f3f7382eeff87701cb90e883fc62038f068b214511d743bee78a97ff487d232c05fb551492c1a9678a7da12b63296c688510732da3a538668e3adb619fe17377b9b112d2"}'
2022-02-08 13:22:01,487 [INFO] [processor:168] Aquiring tx-bed703322438735c. Attempt 0
2022-02-08 13:22:01,493 [INFO] [processor:192] Previous attempt Attempt(tx_id='tx-a7614b2c9bbb992d', nonce=8, index=2, fee=Fee(gas_price=None, max_fee_per_gas=28129204414, max_priority_fee_per_gas=2800000000), wait_time=50, gas=436674)
2022-02-08 13:22:02,175 [INFO] [v2:140] Received current nonce - 9
2022-02-08 13:22:02,623 [INFO] [v2:163] Next fee Fee(gas_price=None, max_fee_per_gas=39528816261, max_priority_fee_per_gas=2500000000)
2022-02-08 13:22:02,624 [INFO] [eth:141] Estimating gas for {'from': '0x69D78f268dA4DB080462518eB69D5A7202F89231', 'to': '0x309180475e7a8De40e6D9F770137D2A680ff1e8E', 'value': 0, 'nonce': 9, 'chainId': 3, 'data': '0x7d93019b3590798490eeaaa542618b6521f2eb63fa128ac281d099fe4c4755767bc1ec5b000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000301787c9b55a3ec37864d29b7aca214a16f1c15fb02e5f30a522283374c6d5d1c2f53534d3dfe159f173f3f266cde695861b65c78f5b69ff8c45ac574716c9c1b0ce997617933a74d4a8bf5f20fb712a515a0a9fd4baa87eaec3468723cf07458246ddc834b397658fc7c4eb1aa2d0e39d2fdb2dceaa7b785c35e46399365d7b307f90d44528252cb62ee52449f23ee2baa318a8f1f28ff1bb321df134d9d71e0005dc4da00751dc0dbc37e7522b584972b9a74c3180e05568011e00fbb6921a120f55511e58df5103d9dc59ff446586ed680d617be27eca9057df897bf744f9d0abc8a090047b5700ccc439c126e0301feaede5fa6797fbf7181503322f5ad4c2e48c6e600b5ab7865475e8acd5c93e87aca278cdae87c80406144c660dca11125287e0cf20517a42d01843205d9f3e9afe028674fd374379bce4fc68e765e742084741229226a34a73a080c6c30417d224855b74dea7c0e99665d78a6b62d3613e5705ede3e51b89c18afa31ef6d26b5c783e0a157accb052eecbc77f1282e100000000000000000000000000000000000000000000000000000000000000043bb41b586436ce1131a9d75402c60cb45cc61d55dc73b4a8328c6c820946133fe5fb2ae4156181de4e81c6d73c6625590af6e4dbdfe3acf8a93bc23e7858508213f9c372ec0058b47753a86d566666950c08439342a746b9e452a5b5369d5b7f5d85db36ac8ea1ff122e37dad8a15c1fa71adcf0735b09c64d65b5eaa3b88a4d87f97e03b9e5751a1643c9c48b535f025c700654efe88e1767d1126027fd712fb5c8d271cb8104ca217614e04307966a65340d35ed9ecc04747046f116e0ffff82b56191e7efdca02b58474bdd8e930c4a653ef7a328fdb24cbba5823f552c605520e20d8110d3ae0e492d2bc5e9ad1a651e4da689c5aa4c5cec4b0b8034f7884c63325066ec7ce7e29b656c0ab78b0b58a3795cc3bfc7d9709d04682d145c1eab36001886ee88465552b0d52bef69c757a3d5a7e09cfa9dad839054f3f7382eeff87701cb90e883fc62038f068b214511d743bee78a97ff487d232c05fb551492c1a9678a7da12b63296c688510732da3a538668e3adb619fe17377b9b112d2', 'maxFeePerGas': 39528816261, 'maxPriorityFeePerGas': 2500000000, 'type': 2}
2022-02-08 13:22:03,993 [INFO] [eth:146] eth_estimateGas returned: 391678 of gas
2022-02-08 13:22:03,993 [INFO] [eth:148] Multiplied gas: 470013
2022-02-08 13:22:04,431 [INFO] [eth:157] Estimation result 470013 of gas
2022-02-08 13:22:04,431 [INFO] [v2:166] Estimated gas 470013
2022-02-08 13:22:04,431 [INFO] [processor:155] Current attempt: Attempt(tx_id='tx-bed703322438735c', nonce=9, index=1, fee=Fee(gas_price=None, max_fee_per_gas=39528816261, max_priority_fee_per_gas=2500000000), wait_time=10, gas=470013)
2022-02-08 13:22:04,432 [INFO] [processor:68] Signing tx tx-bed703322438735c, retry 0
{'from': '0x69D78f268dA4DB080462518eB69D5A7202F89231', 'to': '0x309180475e7a8De40e6D9F770137D2A680ff1e8E', 'value': 0, 'nonce': 9, 'chainId': 3, 'gas': 470013, 'data': '0x7d93019b3590798490eeaaa542618b6521f2eb63fa128ac281d099fe4c4755767bc1ec5b000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000301787c9b55a3ec37864d29b7aca214a16f1c15fb02e5f30a522283374c6d5d1c2f53534d3dfe159f173f3f266cde695861b65c78f5b69ff8c45ac574716c9c1b0ce997617933a74d4a8bf5f20fb712a515a0a9fd4baa87eaec3468723cf07458246ddc834b397658fc7c4eb1aa2d0e39d2fdb2dceaa7b785c35e46399365d7b307f90d44528252cb62ee52449f23ee2baa318a8f1f28ff1bb321df134d9d71e0005dc4da00751dc0dbc37e7522b584972b9a74c3180e05568011e00fbb6921a120f55511e58df5103d9dc59ff446586ed680d617be27eca9057df897bf744f9d0abc8a090047b5700ccc439c126e0301feaede5fa6797fbf7181503322f5ad4c2e48c6e600b5ab7865475e8acd5c93e87aca278cdae87c80406144c660dca11125287e0cf20517a42d01843205d9f3e9afe028674fd374379bce4fc68e765e742084741229226a34a73a080c6c30417d224855b74dea7c0e99665d78a6b62d3613e5705ede3e51b89c18afa31ef6d26b5c783e0a157accb052eecbc77f1282e100000000000000000000000000000000000000000000000000000000000000043bb41b586436ce1131a9d75402c60cb45cc61d55dc73b4a8328c6c820946133fe5fb2ae4156181de4e81c6d73c6625590af6e4dbdfe3acf8a93bc23e7858508213f9c372ec0058b47753a86d566666950c08439342a746b9e452a5b5369d5b7f5d85db36ac8ea1ff122e37dad8a15c1fa71adcf0735b09c64d65b5eaa3b88a4d87f97e03b9e5751a1643c9c48b535f025c700654efe88e1767d1126027fd712fb5c8d271cb8104ca217614e04307966a65340d35ed9ecc04747046f116e0ffff82b56191e7efdca02b58474bdd8e930c4a653ef7a328fdb24cbba5823f552c605520e20d8110d3ae0e492d2bc5e9ad1a651e4da689c5aa4c5cec4b0b8034f7884c63325066ec7ce7e29b656c0ab78b0b58a3795cc3bfc7d9709d04682d145c1eab36001886ee88465552b0d52bef69c757a3d5a7e09cfa9dad839054f3f7382eeff87701cb90e883fc62038f068b214511d743bee78a97ff487d232c05fb551492c1a9678a7da12b63296c688510732da3a538668e3adb619fe17377b9b112d2', 'maxFeePerGas': 39528816261, 'maxPriorityFeePerGas': 2500000000, 'type': 2}
2022-02-08 13:22:04,432 [INFO] [utils:49] Send request: {'id': 0, 'jsonrpc': '2.0', 'method': 'getPublicECDSAKey', 'params': {'keyName': '9784d80ebe155913d3a01ea9768c50a46916f7882bebee9d40ab40255260262a'}}
2022-02-08 13:22:04,872 [INFO] [utils:55] Response received: {'id': 0, 'jsonrpc': '2.0', 'result': {'PublicKey': '44f0b2a348ae38d1ec7c9800c5ccc598c1105fa7a5bfc20769...', 'errorMessage': '', 'publicKey': '44f0b2a348ae38d1ec7c9800c5ccc598c1105fa7a5bfc20769...', 'status': 0}}
2022-02-08 13:22:04,874 [INFO] [utils:49] Send request: {'id': 0, 'jsonrpc': '2.0', 'method': 'ecdsaSignMessageHash', 'params': {'base': 10, 'keyName': '9784d80ebe155913d3a01ea9768c50a46916f7882bebee9d40ab40255260262a', 'messageHash': '0x84148de46b1327cf247e24d2a7c2a5e47d4529a6f99583e033fada890d91ad7a'}}
2022-02-08 13:22:05,312 [INFO] [utils:55] Response received: {'id': 0, 'jsonrpc': '2.0', 'result': {'errorMessage': '', 'signature_r': '47739328240073595145481251658139409415453595506911...', 'signature_s': '86239931234940882781158169233922962222434422204362...', 'signature_v': '1', 'status': 0}}
2022-02-08 13:22:05,313 [INFO] [processor:72] Sending transaction Tx(tx_id='tx-bed703322438735c', status=<TxStatus.SEEN: 2>, score=51644326521, to='0x309180475e7a8De40e6D9F770137D2A680ff1e8E', fee=Fee(gas_price=None, max_fee_per_gas=39528816261, max_priority_fee_per_gas=2500000000), hashes=[], attempts=1, value=0, multiplier=None, source='0x69D78f268dA4DB080462518eB69D5A7202F89231', gas=470013, chain_id=3, nonce=9, data='0x7d93019b3590798490eeaaa542618b6521f2eb63fa128ac281d099fe4c4755767bc1ec5b000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000301787c9b55a3ec37864d29b7aca214a16f1c15fb02e5f30a522283374c6d5d1c2f53534d3dfe159f173f3f266cde695861b65c78f5b69ff8c45ac574716c9c1b0ce997617933a74d4a8bf5f20fb712a515a0a9fd4baa87eaec3468723cf07458246ddc834b397658fc7c4eb1aa2d0e39d2fdb2dceaa7b785c35e46399365d7b307f90d44528252cb62ee52449f23ee2baa318a8f1f28ff1bb321df134d9d71e0005dc4da00751dc0dbc37e7522b584972b9a74c3180e05568011e00fbb6921a120f55511e58df5103d9dc59ff446586ed680d617be27eca9057df897bf744f9d0abc8a090047b5700ccc439c126e0301feaede5fa6797fbf7181503322f5ad4c2e48c6e600b5ab7865475e8acd5c93e87aca278cdae87c80406144c660dca11125287e0cf20517a42d01843205d9f3e9afe028674fd374379bce4fc68e765e742084741229226a34a73a080c6c30417d224855b74dea7c0e99665d78a6b62d3613e5705ede3e51b89c18afa31ef6d26b5c783e0a157accb052eecbc77f1282e100000000000000000000000000000000000000000000000000000000000000043bb41b586436ce1131a9d75402c60cb45cc61d55dc73b4a8328c6c820946133fe5fb2ae4156181de4e81c6d73c6625590af6e4dbdfe3acf8a93bc23e7858508213f9c372ec0058b47753a86d566666950c08439342a746b9e452a5b5369d5b7f5d85db36ac8ea1ff122e37dad8a15c1fa71adcf0735b09c64d65b5eaa3b88a4d87f97e03b9e5751a1643c9c48b535f025c700654efe88e1767d1126027fd712fb5c8d271cb8104ca217614e04307966a65340d35ed9ecc04747046f116e0ffff82b56191e7efdca02b58474bdd8e930c4a653ef7a328fdb24cbba5823f552c605520e20d8110d3ae0e492d2bc5e9ad1a651e4da689c5aa4c5cec4b0b8034f7884c63325066ec7ce7e29b656c0ab78b0b58a3795cc3bfc7d9709d04682d145c1eab36001886ee88465552b0d52bef69c757a3d5a7e09cfa9dad839054f3f7382eeff87701cb90e883fc62038f068b214511d743bee78a97ff487d232c05fb551492c1a9678a7da12b63296c688510732da3a538668e3adb619fe17377b9b112d2', tx_hash=None, sent_ts=None)
2022-02-08 13:22:05,757 [INFO] [txpool:93] Updating record for tx tx-bed703322438735c
2022-02-08 13:22:05,757 [INFO] [processor:91] Tx tx-bed703322438735c was sent successfully
2022-02-08 13:22:05,758 [INFO] [processor:98] Waiting for tx-bed703322438735c, with hash 0x4b1797e5baf068269e501f107f000ec625e4a6e3bf5350be0bea350fba983ea3, timeout 10
2022-02-08 13:22:16,003 [INFO] [processor:107] tx-bed703322438735c is not mined within 10
2022-02-08 13:22:16,004 [INFO] [txpool:93] Updating record for tx tx-bed703322438735c
2022-02-08 13:22:16,005 [ERROR] [processor:201] Failed to process tx
Traceback (most recent call last):
File "/app/transaction_manager/processor.py", line 102, in wait
self.eth.wait_for_receipt(
File "/app/transaction_manager/eth.py", line 221, in wait_for_receipt
raise ReceiptTimeoutError(f'No receipt after {max_time}')
transaction_manager.eth.ReceiptTimeoutError: No receipt after 10

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/transaction_manager/processor.py", line 199, in run
self.process_next()
File "/app/transaction_manager/processor.py", line 194, in process_next
self.process(tx)
File "/app/transaction_manager/processor.py", line 159, in process
rstatus = self.wait(
File "/app/transaction_manager/processor.py", line 109, in wait
raise WaitTimeoutError(err)
transaction_manager.processor.WaitTimeoutError: No receipt after 10
2022-02-08 13:22:16,006 [INFO] [processor:202] Waiting for next tx
2022-02-08 13:22:17,008 [INFO] [processor:187] Pool: [b'tx-bed703322438735c']
2022-02-08 13:22:17,009 [INFO] [txpool:58] Received record b'{"attempts": 1, "chainId": 3, "data": "0x7d93019b3590798490eeaaa542618b6521f2eb63fa128ac281d099fe4c4755767bc1ec5b000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000301787c9b55a3ec37864d29b7aca214a16f1c15fb02e5f30a522283374c6d5d1c2f53534d3dfe159f173f3f266cde695861b65c78f5b69ff8c45ac574716c9c1b0ce997617933a74d4a8bf5f20fb712a515a0a9fd4baa87eaec3468723cf07458246ddc834b397658fc7c4eb1aa2d0e39d2fdb2dceaa7b785c35e46399365d7b307f90d44528252cb62ee52449f23ee2baa318a8f1f28ff1bb321df134d9d71e0005dc4da00751dc0dbc37e7522b584972b9a74c3180e05568011e00fbb6921a120f55511e58df5103d9dc59ff446586ed680d617be27eca9057df897bf744f9d0abc8a090047b5700ccc439c126e0301feaede5fa6797fbf7181503322f5ad4c2e48c6e600b5ab7865475e8acd5c93e87aca278cdae87c80406144c660dca11125287e0cf20517a42d01843205d9f3e9afe028674fd374379bce4fc68e765e742084741229226a34a73a080c6c30417d224855b74dea7c0e99665d78a6b62d3613e5705ede3e51b89c18afa31ef6d26b5c783e0a157accb052eecbc77f1282e100000000000000000000000000000000000000000000000000000000000000043bb41b586436ce1131a9d75402c60cb45cc61d55dc73b4a8328c6c820946133fe5fb2ae4156181de4e81c6d73c6625590af6e4dbdfe3acf8a93bc23e7858508213f9c372ec0058b47753a86d566666950c08439342a746b9e452a5b5369d5b7f5d85db36ac8ea1ff122e37dad8a15c1fa71adcf0735b09c64d65b5eaa3b88a4d87f97e03b9e5751a1643c9c48b535f025c700654efe88e1767d1126027fd712fb5c8d271cb8104ca217614e04307966a65340d35ed9ecc04747046f116e0ffff82b56191e7efdca02b58474bdd8e930c4a653ef7a328fdb24cbba5823f552c605520e20d8110d3ae0e492d2bc5e9ad1a651e4da689c5aa4c5cec4b0b8034f7884c63325066ec7ce7e29b656c0ab78b0b58a3795cc3bfc7d9709d04682d145c1eab36001886ee88465552b0d52bef69c757a3d5a7e09cfa9dad839054f3f7382eeff87701cb90e883fc62038f068b214511d743bee78a97ff487d232c05fb551492c1a9678a7da12b63296c688510732da3a538668e3adb619fe17377b9b112d2", "from": "0x69D78f268dA4DB080462518eB69D5A7202F89231", "gas": 470013, "gasPrice": null, "hashes": ["0x4b1797e5baf068269e501f107f000ec625e4a6e3bf5350be0bea350fba983ea3"], "maxFeePerGas": 39528816261, "maxPriorityFeePerGas": 2500000000, "multiplier": null, "nonce": 9, "score": 51644326521, "sent_ts": 1644326525, "status": "TIMEOUT", "to": "0x309180475e7a8De40e6D9F770137D2A680ff1e8E", "tx_hash": "0x4b1797e5baf068269e501f107f000ec625e4a6e3bf5350be0bea350fba983ea3", "tx_id": "tx-bed703322438735c", "value": 0}'
2022-02-08 13:22:17,010 [INFO] [processor:168] Aquiring tx-bed703322438735c. Attempt 1
2022-02-08 13:22:17,011 [INFO] [processor:192] Previous attempt Attempt(tx_id='tx-bed703322438735c', nonce=9, index=1, fee=Fee(gas_price=None, max_fee_per_gas=39528816261, max_priority_fee_per_gas=2500000000), wait_time=10, gas=470013)
2022-02-08 13:22:17,466 [INFO] [processor:150] Tx tx-bed703322438735c has been already mined
2022-02-08 13:22:17,466 [INFO] [processor:122] Tx tx-bed703322438735c: confirming within 6 blocks
2022-02-08 13:23:12,044 [INFO] [processor:131] Setting tx tx-bed703322438735c as completed, result 1
2022-02-08 13:23:12,044 [INFO] [txpool:93] Updating record for tx tx-bed703322438735c
2022-02-08 13:23:12,045 [INFO] [processor:134] Tx tx-bed703322438735c was confirmed
2022-02-08 13:23:12,046 [INFO] [txpool:108] Releasing tx tx-bed703322438735c

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Feb 10, 2022

➤ Oleksandr Sydorenko commented:

In case when the node has insufficient balance to send Broadcast tx - the transaction will fail on dry run in Skale admin

[2022-02-10 11:14:47,707 INFO] - 10381 - MainThread - sgx.utils:49 - Send request: {'id': 0, 'jsonrpc': '2.0', 'method': 'getSecretShareV2', 'params': {'polyName': 'POLY:SCHAIN_ID:101123082169846838981643325767964626465398894918018257771360617113584276025463:NODE_ID:3:DKG_ID:0', 'n': 4, 't': 3, 'publicKeys': ['c36e40654430a94ea7a13e0e812772058be819d8cdc05fa273e52a6356483bc4f066cf7119e774264fad0a3af2da31babf234b886268c61ed166ce376f473cb9', '11d1574a0c0c912063b24f8912ccd6c71323f534b454da839a4080545a9b9ac8053d41beee7d2d5ba3d0ffb0f4f5587494b21db3cc9ed2759b3cd136ec367b1e', '66b08907a9e735e2809b09414be19e69aaa885656381776d772f875ca10f3c56e7ef541d65d11f93e4929840bb5425b5db6e9c5f71f4b1027e91749ef1e7b171', 'f58e6b3c5710089efda2f6d88bdeb0733b8686c89decd459edc7335afcc9b195d9f8f91fc5341b4b06608341841a529427bfd641dd01cbc90a4d5752196c5215']}}
[2022-02-10 11:14:48,152 INFO] - 10381 - MainThread - sgx.utils:55 - Response received: {'id': 0, 'jsonrpc': '2.0', 'result': {'errorMessage': '', 'secretShare': 'b92230a1b4cce3df6863e299aaf561cb85144365cb2fcd5a6b...', 'status': 0}}
[2022-02-10 11:14:48,157 INFO] - 10381 - MainThread - skale.transactions.tools:47 - Dry run tx: broadcast, sender: 0xC144781563d6633fcCbF67D49Fb0f4720FD70b71, wallet: RedisWalletAdapter, value: 0,
[2022-02-10 11:14:49,203 INFO] - 10381 - MainThread - skale.transactions.tools:61 - Estimated gas for broadcast: 465531
[2022-02-10 11:14:49,683 ERROR] - 10381 - MainThread - skale.transactions.tools:215 - Tx attempt 0/3 failed
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/skale/transactions/tools.py", line 212, in run_tx_with_retry
tx_res = transaction(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/skale/contracts/base_contract.py", line 113, in wrapper
tx_res.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/skale/transactions/result.py", line 95, in raise_for_status
raise InsufficientBalanceError(
skale.transactions.exceptions.InsufficientBalanceError: ('Balance check failed. ', "See result {'status': 0, 'msg': 'Transaction requires 23276550000000000. Wallet has 2598961913436819 wei'}")
[2022-02-10 11:14:50,686 INFO] - 10381 - MainThread - skale.transactions.tools:47 - Dry run tx: broadcast, sender: 0xC144781563d6633fcCbF67D49Fb0f4720FD70b71, wallet: RedisWalletAdapter, value: 0,
[2022-02-10 11:14:51,677 INFO] - 10381 - MainThread - skale.transactions.tools:61 - Estimated gas for broadcast: 465531
[2022-02-10 11:14:52,148 ERROR] - 10381 - MainThread - skale.transactions.tools:215 - Tx attempt 1/3 failed
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/skale/transactions/tools.py", line 212, in run_tx_with_retry
tx_res = transaction(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/skale/contracts/base_contract.py", line 113, in wrapper
tx_res.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/skale/transactions/result.py", line 95, in raise_for_status
raise InsufficientBalanceError(
skale.transactions.exceptions.InsufficientBalanceError: ('Balance check failed. ', "See result {'status': 0, 'msg': 'Transaction requires 23276550000000000. Wallet has 2598961913436819 wei'}")
[2022-02-10 11:14:54,152 INFO] - 10381 - MainThread - skale.transactions.tools:47 - Dry run tx: broadcast, sender: 0xC144781563d6633fcCbF67D49Fb0f4720FD70b71, wallet: RedisWalletAdapter, value: 0,
[2022-02-10 11:14:55,216 INFO] - 10381 - MainThread - skale.transactions.tools:61 - Estimated gas for broadcast: 465531
[2022-02-10 11:14:55,679 ERROR] - 10381 - MainThread - skale.transactions.tools:215 - Tx attempt 2/3 failed
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/skale/transactions/tools.py", line 212, in run_tx_with_retry
tx_res = transaction(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/skale/contracts/base_contract.py", line 113, in wrapper
tx_res.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/skale/transactions/result.py", line 95, in raise_for_status
raise InsufficientBalanceError(
skale.transactions.exceptions.InsufficientBalanceError: ('Balance check failed. ', "See result {'status': 0, 'msg': 'Transaction requires 23276550000000000. Wallet has 2598961913436819 wei'}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant