Skip to content
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

use upstream instruction sets #657

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

use upstream instruction sets #657

wants to merge 11 commits into from

Conversation

darioush
Copy link
Collaborator

Why this should be merged

How this works

How this was tested

@darioush darioush changed the title refactor: use upstream names for forks refactor: use upstream instruction sets Sep 19, 2024
@darioush darioush changed the title refactor: use upstream instruction sets use upstream instruction sets Sep 19, 2024

type StateDB = vm.StateDB

func TestStatefulPrecompile(t *testing.T) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this test has to move out of core/vm, since we want to get the statedb with the hook configured.

Comment on lines +23 to +29
NativeAssetBalanceAddr = vm.NativeAssetBalanceAddr
PackNativeAssetBalanceInput = vm.PackNativeAssetBalanceInput
NativeAssetCallAddr = vm.NativeAssetCallAddr
PackNativeAssetCallInput = vm.PackNativeAssetCallInput
)

type StateDB = vm.StateDB
Copy link
Collaborator Author

@darioush darioush Sep 24, 2024

Choose a reason for hiding this comment

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

these are just temporary, we can do the replace in the text below before merging.
left the text mostly as is in case we also want to move these out of the vm package.

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.

1 participant