Skip to content

Conversation

@abukosek
Copy link
Contributor

@abukosek abukosek commented Sep 25, 2024

Current status:

  • Basic EVM functionality works and e2e tests pass
  • Precompiles implemented:
    • Ethereum standard (ecrecover, sha256, ripemd160, identity, bn128::{add,mul,pair}, blake2, modexp)
    • Oasis-specific SHA2 (sha512_256, sha512, sha384)
    • Oasis-specific confidential (x25519_derive, deoxysii_seal, deoxysii_open, keypair_generate, sign, verify, curve25519_compute_public)

Precompiles to do (sorted easy to hard):

  • Oasis-specific confidential: random_bytes (problem: need to pass storage backend to precompile)
  • Oasis-specific confidential: gas_used, pad_gas (problem: revm doesn't export gas used so far to precompiles)
  • Oasis-specific general: subcall (problem: how to do this with revm?)

Other things to do:

  • Fix nonce updating -- kind of done, someone please check.
  • Port the precompiles I implemented previously for revm v56 to the new v66, which has changed the entire API :/
  • Port testing framework for precompiles from old EVM module
  • Transfer event doesn't seem to be emitted by revm (test_transfer_event), look into this.

The plan is to get this PR into a mergeable state by fixing nonce updates and then implement the rest via smaller PRs.

@netlify
Copy link

netlify bot commented Sep 25, 2024

Deploy Preview for oasisprotocol-oasis-sdk canceled.

Name Link
🔨 Latest commit 5ab6770
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-sdk/deploys/67e2ac2f963a3a00082bd177

@abukosek abukosek force-pushed the andrej/feature/revm branch 2 times, most recently from 1597d9d to efff25b Compare October 3, 2024 14:56
@abukosek abukosek force-pushed the andrej/feature/revm branch from efff25b to df1c5c7 Compare October 29, 2024 13:20
@abukosek abukosek force-pushed the andrej/feature/revm branch 6 times, most recently from 019461f to 08e89ac Compare January 14, 2025 10:41
@abukosek abukosek force-pushed the andrej/feature/revm branch 6 times, most recently from d4dad2c to 0c5d69f Compare January 23, 2025 13:52
@abukosek abukosek force-pushed the andrej/feature/revm branch 6 times, most recently from fcccbf5 to 06d5f88 Compare February 11, 2025 15:21
@abukosek abukosek force-pushed the andrej/feature/revm branch from 06d5f88 to c1d2ca0 Compare February 19, 2025 15:06
@abukosek abukosek force-pushed the andrej/feature/revm branch 2 times, most recently from 97f09f2 to 691e24f Compare March 19, 2025 09:33
@abukosek abukosek force-pushed the andrej/feature/revm branch 2 times, most recently from 5d21348 to de24a48 Compare March 25, 2025 12:58
@abukosek abukosek force-pushed the andrej/feature/revm branch from de24a48 to 5ab6770 Compare March 25, 2025 13:14
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