-
Notifications
You must be signed in to change notification settings - Fork 6
Add EVM to Revive bytecode migration #344
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
Conversation
| let current_nonce = System::account_nonce(&account_id); | ||
|
|
||
| // Convert EVM balance to PVM balance with precision handling | ||
| // TODO: needs to be replaced with `set_evm_balance`` once new pallet-revive is used |
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.
This should be already.
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.
the functionality was there, but I needed to fix it, so the change is on master now
| }) | ||
| }); | ||
| } | ||
| // TODO handle immutables |
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.
The APIs to access the immutables are already in master, can't you add that as well ? OR you plan to do it as follow up.
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.
It is needed for evm from pallet revive, which we do not support yet
|
|
||
| vm.pvm(true); | ||
|
|
||
| // TODO: Enable after contract storage migration is on place |
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 will it be handled ?
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.
It will be a separate PR for this
Closes: #343