Skip to content

Commit

Permalink
Merge develop branch (#164)
Browse files Browse the repository at this point in the history
* Add EVM webb anchor contracts w/ CHAIN_ID (#123)

* Adds merkle extension directory (#124)

* Add EVM webb anchor contracts w/ CHAIN_ID

* zkutil script

* Add old evm files and wasm project for merkle extension

* update toml

* Add yarn lock

* Upload to crates (#120)

* Added orml pallets

* Update config and types

* Added native currency id to config

* Runtime config, benchmark errors

* Testing mixer with non-native currency

* Updated deps, remove wasm-utils

* Using merkle from crates

* Return back to local merkle dep

* Improve events (#122)

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* Multiasset integration (#119)

* Added orml pallets

* Update config and types

* Added native currency id to config

* Runtime config, benchmark errors

* Testing mixer with non-native currency

* Making create_new non-dispatchable

Co-authored-by: Drew Stone <drewstone329@gmail.com>

* Remove chain id

* Renames group to tree (#126)

* Renames group to tree

* Rename more

* Fix naming err

* Update pallets/mixer/src/lib.rs

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>

* Update rust

* Give basic weight to create_new

* Add RPC `merkle.treeLeaves` to `Merkle` pallet (#129)

* remove yarn.lock

* add rpc crate

* add merkle rpc impl

* fix some tests

* Update runtime/src/lib.rs

* Update pallets/merkle/src/lib.rs

* Update pallets/merkle/src/lib.rs

* Update pallets/merkle/rpc/src/lib.rs

Co-authored-by: Drew Stone <drewstone329@gmail.com>

* Chain id removal

* New Github actions and Dockerfile (#131)

* github actions and Dockerfile

* dockerignore

* fmt

* cache lints

* disable clippy for now

* add build to the CI

* remove old actions

* no-override

* Fix docker build (#132)

* fix image name

* New token pallet (#134)

* Updates

* Updates

* Merge pallet_assets w/ orml_tokens

* Pallets compile, node doesn't

* [wip] comment out frontier for now

* Comment out EVM/Frontier, get node compiling

* remove frontier service file from git

* Newlines

* ups (#133)

* Test updates

* Fix merge account

* Fix no_op test

* Updates, dust test not working

* Fix all tests

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* Adds frontier back (#135)

* Updates

* Updates

* Merge pallet_assets w/ orml_tokens

* Pallets compile, node doesn't

* [wip] comment out frontier for now

* Comment out EVM/Frontier, get node compiling

* remove frontier service file from git

* Newlines

* ups (#133)

* Test updates

* Fix merge account

* Fix no_op test

* Updates, dust test not working

* Fix all tests

* Toml updates

* Adds frontier, mocks orml for as new local packages

* Add all rpc methods back, fix service

* Change to webb node from template

* Organising

* Optional rpc in toml

* Fix conflict

* Update tests and mocks

* Reverts

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* fix failing tests

* Update contracts, add mocks

* Add ts-tests from edgeware/frontier for local anon testing

* Tsconfig,  package.json update

* ups

* Add edgeware types back

* Add truffle config

* Update to master substrate (#137)

* Update to master substrate

* Fix benchmarks and tests

* Formatting/lint

* switch to ubuntu as base docker image

* Add anchor (#140)

* Update README.md

* Update README.md (#125)

* Update build.sh

* Develop to master merge (#136)

* Add EVM webb anchor contracts w/ CHAIN_ID (#123)

* Adds merkle extension directory (#124)

* Add EVM webb anchor contracts w/ CHAIN_ID

* zkutil script

* Add old evm files and wasm project for merkle extension

* update toml

* Add yarn lock

* Upload to crates (#120)

* Added orml pallets

* Update config and types

* Added native currency id to config

* Runtime config, benchmark errors

* Testing mixer with non-native currency

* Updated deps, remove wasm-utils

* Using merkle from crates

* Return back to local merkle dep

* Improve events (#122)

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* Multiasset integration (#119)

* Added orml pallets

* Update config and types

* Added native currency id to config

* Runtime config, benchmark errors

* Testing mixer with non-native currency

* Making create_new non-dispatchable

Co-authored-by: Drew Stone <drewstone329@gmail.com>

* Remove chain id

* Renames group to tree (#126)

* Renames group to tree

* Rename more

* Fix naming err

* Update pallets/mixer/src/lib.rs

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>

* Update rust

* Give basic weight to create_new

* Add RPC `merkle.treeLeaves` to `Merkle` pallet (#129)

* remove yarn.lock

* add rpc crate

* add merkle rpc impl

* fix some tests

* Update runtime/src/lib.rs

* Update pallets/merkle/src/lib.rs

* Update pallets/merkle/src/lib.rs

* Update pallets/merkle/rpc/src/lib.rs

Co-authored-by: Drew Stone <drewstone329@gmail.com>

* Chain id removal

* New Github actions and Dockerfile (#131)

* github actions and Dockerfile

* dockerignore

* fmt

* cache lints

* disable clippy for now

* add build to the CI

* remove old actions

* no-override

* Fix docker build (#132)

* fix image name

* New token pallet (#134)

* Updates

* Updates

* Merge pallet_assets w/ orml_tokens

* Pallets compile, node doesn't

* [wip] comment out frontier for now

* Comment out EVM/Frontier, get node compiling

* remove frontier service file from git

* Newlines

* ups (#133)

* Test updates

* Fix merge account

* Fix no_op test

* Updates, dust test not working

* Fix all tests

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* Adds frontier back (#135)

* Updates

* Updates

* Merge pallet_assets w/ orml_tokens

* Pallets compile, node doesn't

* [wip] comment out frontier for now

* Comment out EVM/Frontier, get node compiling

* remove frontier service file from git

* Newlines

* ups (#133)

* Test updates

* Fix merge account

* Fix no_op test

* Updates, dust test not working

* Fix all tests

* Toml updates

* Adds frontier, mocks orml for as new local packages

* Add all rpc methods back, fix service

* Change to webb node from template

* Organising

* Optional rpc in toml

* Fix conflict

* Update tests and mocks

* Reverts

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* fix failing tests

* Update contracts, add mocks

* Add ts-tests from edgeware/frontier for local anon testing

* Tsconfig,  package.json update

* ups

* Add edgeware types back

* Add truffle config

* Update to master substrate (#137)

* Update to master substrate

* Fix benchmarks and tests

* Formatting/lint

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>
Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* Update README.md

* Update README.md

* Add anchor

* Remove old anchor, replace with new submodule

* Update submodule

* Attempting to pass test for circom on locally generated keys

* Get evm tests passing with solidity 0.7.6 on ganache

* Change evm contracts readme

* Link git submodule for anchor contracts and types to anon repo branch add-anchor

* Add contract ABIs for a locally generated circuit

* Update contracts ABI from build folder, still ignore build/circuits

* Remove random seed

* Update README.md

* Update README.md (#125)

* Update build.sh

* Update README.md

* Update README.md

* Add anchor

* Remove old anchor, replace with new submodule

* Update submodule

* Attempting to pass test for circom on locally generated keys

* Get evm tests passing with solidity 0.7.6 on ganache

* Change evm contracts readme

* Link git submodule for anchor contracts and types to anon repo branch add-anchor

* Add contract ABIs for a locally generated circuit

* Update contracts ABI from build folder, still ignore build/circuits

* Remove random seed

* Fix service

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>
Co-authored-by: Shady Khalifa <shekohex@gmail.com>
Co-authored-by: Nathan Barnavon <nepoche@yahoo.com>

* Update

* Update toml/lock

* Ups frontier

* Up lock

* Fix readme

* rename scripts to use webb-node (#141)

* Merkle bytes interface (#144)

* Moving zk logic outside the pallet

* Moving bulletproofs verification outside the pallet

* Using bytes vec for inputs

* Updated mixer with new types

* Fixed tests

* Updated job hooks, ran cargo fmt

* Fix compile errors

* Removed unused hasher

* Bring back hooks

* Merkle arkworks support (#145)

* Updated job hooks, ran cargo fmt

* Bring back hooks

* Compiling to no_std

* Added arkworks hashing

* Error handling improvements

* Cargo fmt

* Updated cryoto-primitives

* Compiled

* Update zero tree gen, types

* Updated verify function

* Passing test

* Fixed mixer

* Moved to mixer gadget

* Using pallet Error enum

* Updates after review part 1

* Update after review part 2

* Rename args, hasher.rs -> setup.rs

* Added more tests

* Remove ts-tests

* Bridge pallet stubbed implementation (#138)

* Update traits for bridge, add bridge wrap fn

* stub deposit

* Unwrap fn for webb wrapped assets on bridge

* More updates

* Stub out more functions

* Tidy up mock

* Change mixer to anchor in bridge docs

* Update branch in bridge toml

* use webb-tools/substrate fork

* Updates frontier dependency (#146)

* Update and add new inherent

* Update

* Update lock

* Ups

* Merge develop

* Updates

* Fixes

Co-authored-by: Shady Khalifa <shekohex@gmail.com>

* Verify guard (#147)

* Added verification guard

* Updated verifying key storage

* Update verification key storage (#149)

* Fix bridge mock

* Update verification key flow

* Add pallet functions

* Function comment update

* Key storage - Storing verifying key data in runtime using 2-step initialization. (#157)

* Storing keys in runtime storage, [wip]

* Fix tests, get_mixer requires initialized trees

* Update initialization with new pallet function

* Updates to key storage - master merge (#159)

* Merge master

* Remove contracts

* Ups

* Upds

* Fmt

* Remove warnings for bridge until implemented

* Remove options

* Fmt

* Bulletproofs precompiles (#148)

* Added precompiles

* Using chacha

* cargo fmt

* Added tests for invalid casees

* Add precompile test

* Added verify directly test

* Fix comments

* Update frontier fork, substrate deps, rebuild/receive same error

* Toml updates

* More attempts

* Compiles

* Merge dev

* fmt

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>

* Fixes to the CI / benchmarking & cleanup of unused params (#162)

* Fix compile issues

* Ups

* Build benchmarks works

* Build mixer benchmarks

* Fmt

* Fix test script

* Add pallet-assets support for a mixer (#163)

* Add pallet-assets support for a mixer

* Add pallet

* Fmt

* Fix

Co-authored-by: Filip Lazovic <lazoviccorp@gmail.com>
Co-authored-by: Shady Khalifa <shekohex@gmail.com>
Co-authored-by: Nathan Barnavon <nepoche@yahoo.com>
Co-authored-by: nepoche <barna0308@gmail.com>
  • Loading branch information
5 people committed Jul 5, 2021
1 parent 284c79e commit 2be2fd8
Show file tree
Hide file tree
Showing 89 changed files with 6,332 additions and 22,637 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ jobs:

- name: Run Build
run: ./scripts/build.sh

4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

[submodule "contracts/evm/anchor"]
path = contracts/evm/anchor
url = https://github.com/webb-tools/tornado-core.git

0 comments on commit 2be2fd8

Please sign in to comment.