-
Notifications
You must be signed in to change notification settings - Fork 3.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
Add gas vesion list, and fix gas version for derived object id native function #13047
Conversation
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 (but don't trust me) 😄
@@ -309,7 +309,7 @@ crate::gas_schedule::macros::define_gas_parameters!( | |||
|
|||
[object_exists_at_base: InternalGas, { 7.. => "object.exists_at.base" }, 919], | |||
// Based on SHA3-256's cost | |||
[object_user_derived_address_base: InternalGas, { 16.. => "object.user_derived_address.base" }, 14704], | |||
[object_user_derived_address_base: InternalGas, { gas_feature_versions::RELEASE_V1_12.. => "object.user_derived_address.base" }, 14704], |
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.
Seems like this is the only non-refactor/change? Seems reasonable.
[function_info_check_dispatch_type_compatibility_impl_base: InternalGas, { 17.. => "function_info.check_dispatch_type_compatibility_impl.base" }, 1002], | ||
[function_info_load_function_base: InternalGas, { 17.. => "function_info.load_function.base" }, 551], | ||
[dispatchable_fungible_asset_dispatch_base: InternalGas, { 17.. => "dispatchable_fungible_asset.dispatch.base" }, 551], | ||
[function_info_check_is_identifier_base: InternalGas, { gas_feature_versions::RELEASE_V1_12.. => "function_info.is_identifier.base" }, 551], |
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.
Cleaner to just import gas_feature_versions::RELEASE_V1_12
?
11a311f
to
abd571e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
abd571e
to
54426a6
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
54426a6
to
b7310b9
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
b7310b9
to
54426a6
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
❌ Forge suite
|
✅ Forge suite
|
Description
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
Key Areas to Review
Checklist