Skip to content

Conversation

@smiasojed
Copy link
Collaborator

Closes: #343

@smiasojed smiasojed marked this pull request as ready for review October 10, 2025 06:36
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
Copy link

Choose a reason for hiding this comment

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

This should be already.

Copy link
Collaborator Author

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
Copy link

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.

Copy link
Collaborator Author

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
Copy link

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 ?

Copy link
Collaborator Author

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

@smiasojed smiasojed merged commit 56f3acd into master Oct 16, 2025
31 checks passed
@smiasojed smiasojed deleted the sm/fix_select_pvm branch October 16, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[State & Storage translation] Implement EVM to Revive migration

4 participants