-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update SDK to stable 2409 with Rust 1.81 and EVM enhancements #976
Conversation
…eio/laos into chore/update-sdk-to-stable-2409
/describe |
PR Description updated to latest commit (1188ad1) |
@@ -47,9 +47,13 @@ parameter_types! { | |||
/// (max_extrinsic.ref_time() / max_extrinsic.proof_size()) / WEIGHT_PER_GAS | |||
/// ) | |||
pub const GasLimitPovSizeRatio: u64 = 4; | |||
/// The amount of gas per storage (in bytes): BLOCK_GAS_LIMIT / BLOCK_STORAGE_LIMIT | |||
/// The current definition of BLOCK_STORAGE_LIMIT is 160 KB, resulting in a value of 91. | |||
pub const GasLimitStorageGrowthRatio: u64 = 91; |
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.
where this number comes from ?
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.
laos/runtime/laos/src/configs/evm.rs
Lines 297 to 298 in 1188ad1
let expected_storage_growth_ratio = | |
BlockGasLimit::get().low_u64().saturating_div(block_storage_limit); |
User description
Bump dependencies to 2409 and related updates
PR Type
Enhancement, Bug fix, Tests
Description
Updated SDK dependencies to stable version 2409, including Rust toolchain upgrade to 1.81.
Introduced
GasLimitStorageGrowthRatio
parameter and related configurations in EVM pallet.Fixed Clippy warnings and added
#![allow(clippy::manual_inspect)]
to address false positives.Enhanced test coverage for storage growth ratio and other configurations.
Changes walkthrough 📝
4 files
Added `AddressMapping` and updated dispatch calls.
Added `GasLimitStorageGrowthRatio` and updated EVM configurations.
Removed `DenyUnsafe` and adjusted RPC dependencies.
Added NFT-related configurations and teleporters.
2 files
Updated executor configurations and network setup.
Adjusted RPC endpoint handling and hardware benchmarking.
7 files
Updated mock configurations for EVM.
Updated mock configurations for `GasLimitStorageGrowthRatio`.
Added `GasLimitStorageGrowthRatio` to mock configurations.
Updated mock configurations for EVM.
Added `GasLimitStorageGrowthRatio` to mock configurations.
Fixed balance lock assertions in tests.
Fixed balance lock assertions in XCM tests.
7 files
Added Clippy allowance for `manual_inspect`.
Added Clippy allowance for `manual_inspect`.
Added Clippy allowance for `manual_inspect`.
Added Clippy allowance for `manual_inspect`.
Added Clippy allowance for `manual_inspect`.
Added Clippy allowance for `manual_inspect`.
Added Clippy allowance for `multiple_bound_locations`.
9 files