-
Notifications
You must be signed in to change notification settings - Fork 27
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
EasyGas #242
EasyGas #242
Conversation
29bad71
to
dad3359
Compare
CoreAddresses::assert_genesis_address(sender); | ||
let genesis_account = GenesisSignerCapability::get_genesis_signer(); | ||
let gas_token_entry = GasTokenEntry { account_address, module_name, struct_name, data_source }; | ||
if (exists<GasTokenEntry>(address_of(&genesis_account))) { |
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.
这里是直接覆盖了?
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.
是的,目前只支持STAR,未来可以升级成vec.
need update https://github.com/starcoinorg/starcoin-framework/blob/main/scripts/dev_setup.sh MPM_VERSION=v1.13.7 @sanlee42 |
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Other information