Skip to content

Conversation

@chipshort
Copy link
Contributor

closes #2286

While updating wasmer, I decided to change the Gatekeeper to handle whole proposals of operators without having to list all their instructions. Please review that change carefully. The Gatekeeper is somewhat security relevant.

Unfortunately this new wasmer version requires us to bump the CI's min Rust version to 1.81, which is uncomfortably close to 1.82 (which currently doesn't work for compiling contracts unless we merge #2346 or Wasmer implements it)

I also had to fix some stuff in the CI because of the wasmer bump.

Copy link
Contributor

@aumetra aumetra left a comment

Choose a reason for hiding this comment

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

Uhh, I mean it looks fine from my perspective. I really like how Bytecode Alliance refactored the wasmparser.

Metering was fixed, right?

Apart from that I don't really have any questions really. So here's the approval:

Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

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

🐎

@webmaster128 webmaster128 changed the title Update wasmer and refactor Gatekeeper Upgrade to Wasmer 5 and refactor Gatekeeper Feb 10, 2025
@chipshort chipshort merged commit f93e5aa into main Feb 10, 2025
30 checks passed
@chipshort chipshort deleted the co/wasmer-update branch February 10, 2025 14:35
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.

Use wasmer::middlewares::metering

4 participants