Skip to content

[V6] geth --dev test fixture setup #3209

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

Merged
merged 7 commits into from
Jan 30, 2024
Merged

Conversation

reedsa
Copy link
Contributor

@reedsa reedsa commented Jan 26, 2024

What was wrong?

Closes #3188

  • Could not build a geth fixture or run tests for latest geth versions using PoS where mining is not available
  • Prevented from running tests against latest geth due to some older commands / private chains needing a PoS client as well.

How was it fixed?

  • Running with geth --dev for local chain that uses simulated PoS
  • Fixture generation with geth running --dev mode
  • Tests with geth running --dev mode

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

reedsa and others added 5 commits January 26, 2024 12:55
…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
@reedsa reedsa changed the title [V6] geth 1.13.9 upgrade [V6] geth --dev fixture setup Jan 26, 2024
@reedsa reedsa changed the title [V6] geth --dev fixture setup [V6] geth --dev test fixture setup Jan 26, 2024
@reedsa reedsa force-pushed the v6-geth-1.13.9-upgrade branch from fa105cc to fff7fe1 Compare January 26, 2024 20:42
@reedsa reedsa force-pushed the v6-geth-1.13.9-upgrade branch from fff7fe1 to 4caf083 Compare January 26, 2024 20:48
@reedsa reedsa requested review from fselmo, kclowes and pacrob January 26, 2024 22:13
Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 !

@reedsa reedsa merged commit c7b9771 into ethereum:v6 Jan 30, 2024
@reedsa reedsa deleted the v6-geth-1.13.9-upgrade branch March 19, 2024 17:03
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

Successfully merging this pull request may close these issues.

4 participants