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

introduce VMKind::NearVm #8873

Merged
merged 2 commits into from
Apr 3, 2023

Conversation

Ekleog-NEAR
Copy link
Collaborator

No description provided.

@Ekleog-NEAR Ekleog-NEAR requested a review from nagisa April 3, 2023 15:10
@Ekleog-NEAR Ekleog-NEAR requested a review from a team as a code owner April 3, 2023 15:10
@@ -238,7 +238,7 @@ const WASMER2_CONFIG: Wasmer2Config = Wasmer2Config {
compiler: WasmerCompiler::Singlepass,
};

pub(crate) fn wasmer2_vm_hash() -> u64 {
pub(crate) fn near_vm_vm_hash() -> u64 {
WASMER2_CONFIG.config_hash()
Copy link
Collaborator

Choose a reason for hiding this comment

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

This global wants a rename too.

Copy link
Collaborator Author

@Ekleog-NEAR Ekleog-NEAR Apr 3, 2023

Choose a reason for hiding this comment

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

Right, I didn’t want to touch this file at all as it’ll come in a further PR, but I ended up having to rename the function to be able to make this one. I’ll definitely not forget fixing up the global name in a follow-up PR!

@near-bulldozer near-bulldozer bot merged commit 321d85d into near:master Apr 3, 2023
nikurt pushed a commit to nikurt/nearcore that referenced this pull request Apr 5, 2023
* introduce VMKind::NearVm

* fix build
nikurt pushed a commit that referenced this pull request Apr 28, 2023
* introduce VMKind::NearVm

* fix build
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.

2 participants