-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
geth --dev
test fixture setup
#3191
Conversation
367bef4
to
aa78a85
Compare
aa78a85
to
62d3ee3
Compare
9e13268
to
244348c
Compare
66fea31
to
5192fb3
Compare
3af4c15
to
e10a736
Compare
6e906f8
to
fd4eab0
Compare
^^ squashed and rebased |
cbba343
to
abcce6d
Compare
abcce6d
to
21dc730
Compare
21dc730
to
56d7426
Compare
tests/integration/go_ethereum/test_goethereum_ws_v2/conftest.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! Take or leave geth version comments as you will.
…ing: - Quicker timeout for unmined wait-for-txn-receipt tests - Update default fees test for geth --dev mode - Get rid of all miner start() and stop() references - Run integration tests with --dev flag - Test refactoring for ``geth --dev`` test fixture setup - Remove PoW related endpoint tests; TODO: remove / deprecate endpoints - Support latest geth versions - Update geth version in circleCI config + peripherally related changes - Turn on PoS block identifier tests - get geth --dev test suite working
- Flaky for replace transaction - Fix typing - Loosen assertions on gas - Nonce value fix - Loosen asserts for default maxFeePerGas and maxPriorityFeePerGas tests
- Add @flaky to tests that expect mining at certain times - This isn't ideal. Perhaps we can increase the ``dev.period`` (mining interval) to make these tests a bit more reliable and hopefully the other tests are unaffected. - Update benchmark to run with ``geth --dev`` setup - Put back old state of get_logs_without_logs for eth_tester
- Try with --dev.period=5 - Remove assert from test_eth_new_block_filter - Remove sleep from test_web3_client_version - Try without flaky - Fixes test_eth_send_transaction_with_nonce without the need for retries. - Retries were causing transactions to be sent with the same nonce, which in turn requires more gas to go through. Running the test once fixes this issue. - Obtain the transaction count providing the 'pending' argument. - Fix test_eth_send_transaction_no_max_fee
56d7426
to
bb312ee
Compare
@@ -49,6 +52,14 @@ | |||
) | |||
|
|||
|
|||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌🏼
7b85d6d
to
6191d09
Compare
lgtm but I can't review it since it's my branch 😆... green light from me though 👍🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* WIP: Generate geth fixture for shanghai with clique consensus * Initial squashed commits for getting ``geth --dev`` test fixture working: - Quicker timeout for unmined wait-for-txn-receipt tests - Update default fees test for geth --dev mode - Get rid of all miner start() and stop() references - Run integration tests with --dev flag - Test refactoring for ``geth --dev`` test fixture setup - Remove PoW related endpoint tests; TODO: remove / deprecate endpoints - Support latest geth versions - Update geth version in circleCI config + peripherally related changes - Turn on PoS block identifier tests - get geth --dev test suite working * Updates towards ``geth --dev`` test fixture: - Flaky for replace transaction - Fix typing - Loosen assertions on gas - Nonce value fix - Loosen asserts for default maxFeePerGas and maxPriorityFeePerGas tests * ``geth --dev`` test fixture tweaks: - Add @flaky to tests that expect mining at certain times - This isn't ideal. Perhaps we can increase the ``dev.period`` (mining interval) to make these tests a bit more reliable and hopefully the other tests are unaffected. - Update benchmark to run with ``geth --dev`` setup - Put back old state of get_logs_without_logs for eth_tester * More work towards ``geth --dev`` test fixture: - Try with --dev.period=5 - Remove assert from test_eth_new_block_filter - Remove sleep from test_web3_client_version - Try without flaky - Fixes test_eth_send_transaction_with_nonce without the need for retries. - Retries were causing transactions to be sent with the same nonce, which in turn requires more gas to go through. Running the test once fixes this issue. - Obtain the transaction count providing the 'pending' argument. - Fix test_eth_send_transaction_no_max_fee * Additional cleanup for ``geth --dev`` test fixture * Sync with feedback in #3191 for ``geth --dev`` test fixture --------- Co-authored-by: fselmo <[email protected]>
What was wrong?
Related to Issue #3188
How was it fixed?
geth --dev
for local chain that uses simulated PoS--dev
mode--dev
modeTodo:
Cute Animal Picture