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

[1.1.0 -> main] Test: Use EOS mainnet chain values for integration tests #1173

Merged
merged 5 commits into from
Feb 18, 2025

Conversation

heifner
Copy link
Member

@heifner heifner commented Feb 18, 2025

The prior max_transaction_cpu_usage of 475ms allowed for very long running speculative transactions. These could cause delays which, in some cases, would be long enough for a test to timeout. See #1151 for details.

To avoid other possible differences in tests and real-world, set all genesis values of integration tests to the current EOS mainnet values.

EOS Mainnet eosio global table values

https://eosauthority.com/account/eosio?network=eos&scope=eosio&table=global&limit=10&index_position=1&key_type=i64&reverse=0&mode=contract&sub=tables

max_block_net_usage target_block_net_usage_pct max_transaction_net_usage base_per_transaction_net_usage net_usage_leeway context_free_discount_net_usage_num context_free_discount_net_usage_den max_block_cpu_usage target_block_cpu_usage_pct max_transaction_cpu_usage min_transaction_cpu_usage max_transaction_lifetime deferred_trx_expiration_window max_transaction_delay max_inline_action_size max_inline_action_depth max_authority_depth
1048576 10000 524288 12 500 20 100 200000 10 150000 100 3600 600 3888000 524287 10 10

Merges release/1.1 into main including #1172

Resolves #1151

@heifner heifner added the OCI Work exclusive to OCI team label Feb 18, 2025
@heifner heifner requested review from greg7mdp and linh2931 February 18, 2025 14:22
@heifner heifner merged commit eb23777 into main Feb 18, 2025
36 checks passed
@heifner heifner deleted the GH-1151-test-genesis branch February 18, 2025 21:05
@ericpassmore
Copy link
Contributor

Note:start
category: Tests
component: Internal
summary: To avoid other possible differences in tests and real-world, set all genesis values of integration tests to the current EOS mainnet values.
Note:end

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

Successfully merging this pull request may close these issues.

Test failure: restart-scenarios-if-test-none
4 participants