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] Test: Use EOS mainnet chain values for integration tests #1172

Merged
merged 3 commits into from
Feb 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions tests/TestHarness/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,22 +359,22 @@ def init_genesis(self):
'initial_key': self.network.nodes['bios'].keys[0].pubkey,
'initial_configuration': {
'max_block_net_usage': 1048576,
'target_block_net_usage_pct': 1000,
'target_block_net_usage_pct': 10000,
'max_transaction_net_usage': 524288,
'base_per_transaction_net_usage': 12,
'net_usage_leeway': 500,
'context_free_discount_net_usage_num': 20,
'context_free_discount_net_usage_den': 100,
'max_block_cpu_usage': 500000 if self.args.max_block_cpu_usage is None else self.args.max_block_cpu_usage,
'target_block_cpu_usage_pct': 1000,
'max_transaction_cpu_usage': 475000 if self.args.max_transaction_cpu_usage is None else self.args.max_transaction_cpu_usage,
'max_block_cpu_usage': 200000 if self.args.max_block_cpu_usage is None else self.args.max_block_cpu_usage,
'target_block_cpu_usage_pct': 10,
'max_transaction_cpu_usage': 150000 if self.args.max_transaction_cpu_usage is None else self.args.max_transaction_cpu_usage,
'min_transaction_cpu_usage': 100,
'max_transaction_lifetime': 3600,
'deferred_trx_expiration_window': 600,
'max_transaction_delay': 3888000,
'max_inline_action_size': 524288,
'max_inline_action_depth': 4,
'max_authority_depth': 6
'max_inline_action_size': 524287,
'max_inline_action_depth': 10,
'max_authority_depth': 10
Copy link
Member

Choose a reason for hiding this comment

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

Are those all EOS mainnet genesis values? Can you put a copy of current genesis configs in the PR description?

Copy link
Member Author

Choose a reason for hiding this comment

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

These are not EOS mainnet genesis values, they are current values. I'll add the current values to the description.

}
}
else:
Expand Down