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 18, 2022
1 parent e773286 commit 976a4f4
Show file tree
Hide file tree
Showing 12 changed files with 1,689 additions and 204 deletions.
39 changes: 25 additions & 14 deletions 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 @@ -16,7 +16,7 @@ autobenches = false
aurora-engine-types = { path = "../engine-types", default-features = false }
aurora-engine-sdk = { path = "../engine-sdk", default-features = false }
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 }
libsecp256k1 = { version = "0.7.0", default-features = false, features = ["static-context", "hmac"] }
num = { version = "0.4.0", default-features = false, features = ["alloc"] }
Expand All @@ -32,6 +32,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", "libsecp256k1/std", "ripemd/std", "sha2/std", "sha3/std", "ethabi/std"]
contract = []
log = []
Expand Down
Loading

0 comments on commit 976a4f4

Please sign in to comment.