Skip to content

Commit

Permalink
Feat(precompiles): Use near host functions for alt_bn128 when compili…
Browse files Browse the repository at this point in the history
…ng wasm artifact

Feat(Precompiles): BN256 uses NEAR host function


birchmd Fixes


Set zeropool-bn version


Remove commented out code
  • Loading branch information
joshuajbouw committed Aug 16, 2022
1 parent a7c2727 commit 7c716c7
Show file tree
Hide file tree
Showing 12 changed files with 474 additions and 192 deletions.
26 changes: 25 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion engine-precompiles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aurora-engine-types = { path = "../engine-types", default-features = false }
aurora-engine-sdk = { path = "../engine-sdk", default-features = false }
base64 = { version = "0.13.0", default-features = false, features = ["alloc"] }
borsh = { version = "0.8.2", default-features = false }
bn = { package = "aurora-bn", git = "https://github.com/aurora-is-near/aurora-bn.git", default-features = false }
bn = { version = "0.5.11", package = "zeropool-bn", default-features = false }
evm = { git = "https://github.com/aurora-is-near/sputnikvm.git", tag = "v0.36.0-aurora", default-features = false }
evm-core = { git = "https://github.com/aurora-is-near/sputnikvm.git", tag = "v0.36.0-aurora", default-features = false }
libsecp256k1 = { version = "0.7.0", default-features = false, features = ["static-context", "hmac"] }
Expand All @@ -35,6 +35,7 @@ serde_json = "1"
rand = "0.7.3"

[features]
default = ["std"]
std = ["aurora-engine-types/std", "aurora-engine-sdk/std", "borsh/std", "bn/std", "evm/std", "evm-core/std", "libsecp256k1/std", "ripemd160/std", "sha2/std", "sha3/std", "ethabi/std"]
contract = []
log = []
Expand Down
Loading

0 comments on commit 7c716c7

Please sign in to comment.