Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add triple masking #1004

Merged
merged 31 commits into from
Aug 22, 2023
Merged

Add triple masking #1004

merged 31 commits into from
Aug 22, 2023

Conversation

harshadptl
Copy link
Contributor

  • ledger add noah

  • components add noah

  • fix lint

  • update keypair

  • fix lint

  • remove is_address_fra

  • fix xfrboxy

  • signature.verify

  • update enable_triple_masking_height to enable_ed25519_triple_masking_height

  • fix OwnerMemo

  • fix test

  • update noah version

  • fix anon transfer batch


Co-authored-by: shaorongqiang shaorongqiang@aliyun.com

triple_masking dependencies to develop (#926)

  • dependencies to develop

  • update wasm-bindgen

  • remove noah

  • strike build_record_and_get_blinds


Co-authored-by: shaorongqiang shaorongqiang@aliyun.com
Co-authored-by: weikengchen w.k@berkeley.edu

Renew #935 for merging develop with main. (#937)

  • fix

  • Upgrade noah to v0.4.6

  • update


Co-authored-by: weikeng cusgadmin@Weikengs-MacBook-Pro.local
Co-authored-by: Sun sun@findora.org
Co-authored-by: weikengchen w.k@berkeley.edu

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen w.k@berkeley.edu

Improve Noah secp support (#981)

  • Improve Noah secp support

  • update deps

  • update platform-lib-utils for testing

  • public key to bytes in data_model

  • fix

  • fix

  • Avoid lint bug

  • fix EVM XfrPublicKey deserialization

  • edit the dependency

  • fix error handling


Co-authored-by: weikengchen w.k@berkeley.edu

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

  • Improve Noah secp support

  • update deps

  • update platform-lib-utils for testing

  • public key to bytes in data_model

  • fix

  • fix

  • Avoid lint bug

  • fix EVM XfrPublicKey deserialization

  • edit the dependency

  • fix error handling

  • update the asset code

  • fix


Co-authored-by: Harshad Patil harshad0402@gmail.com

add validator_whitelist v1 (#972)

  • fix timeout and checkpoint

  • add validator_whitelist v1

  • add validator_whitelist

add validator_whitelist_v2 (#976)

  • add validator_whitelist_v2

  • update timeout_commit 10s

  • update validator_whitelist

  • bug fix

  • fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

  • make sure that you have executed all the following process and no errors occur

    • make fmt
    • make lint
    • make test
  • The major changes of this PR

  • The major impacts of this PR

    • Impact WASM?
    • Impact Web3 API?
    • Impact mainnet data compatibility?
  • Extra documentations

@harshadptl harshadptl mentioned this pull request Aug 12, 2023
6 tasks
Base automatically changed from anemoi_lib_noah to develop August 18, 2023 06:48
* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts
@harshadptl harshadptl force-pushed the feat-triple-masking-v5 branch from 1cdabc8 to b31b542 Compare August 18, 2023 22:03
@weikengchen weikengchen changed the title triple_masking Add triple masking Aug 20, 2023
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
src/components/finutils/src/bins/fn.yml Outdated Show resolved Hide resolved
OwnerMemo, XfrPublicKey,
},
};

const TRANSACTION_WINDOW_WIDTH: u64 = 128;
const VERSION_WINDOW: u64 = 100;
const GENESIS_ANON_HASH: &str =
"2501917d72f915a3afb91ae561a0e4230d5d4edbb9b62fb7e2ea41f18c3038b5";
Copy link
Member

Choose a reason for hiding this comment

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

How is this hash being calculated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was taken as a hash of AnonStateCommitmentData when both the trees were empty

`/// Commitment data for AnonMerkletrees
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub struct AnonStateCommitmentData {
/// Root hash of the latest committed version of abarMerkletree
pub abar_root_hash: BN254Scalar,
/// Root hash of the nullifier setMerkletree
pub nullifier_root_hash: BitDigest,
}

impl AnonStateCommitmentData {
#[inline(always)]
#[allow(missing_docs)]
pub fn compute_commitment(&self) -> HashOf<Option> {
HashOf::new(&Some(self).cloned())
}
}`

Copy link
Member

Choose a reason for hiding this comment

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

can we have a unit test for that? (so that, if the hash function change has caused a side effect, we would be able to catch that).

@weikengchen
Copy link
Member

Now: going to clean up the remaining comments and then merge this PR.

@weikengchen weikengchen merged commit 1e800ce into develop Aug 22, 2023
@weikengchen weikengchen deleted the feat-triple-masking-v5 branch August 22, 2023 16:35
shaorongqiang pushed a commit that referenced this pull request Sep 12, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Sep 12, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Sep 14, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Sep 21, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Sep 25, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Sep 26, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Oct 20, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update
src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Oct 20, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update
src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
shaorongqiang pushed a commit that referenced this pull request Nov 1, 2023
* triple_masking

* ledger add noah

* components add noah

* fix lint

* update keypair

* fix lint

* remove is_address_fra

* fix xfrboxy

* signature.verify

* update enable_triple_masking_height to
enable_ed25519_triple_masking_height

* fix OwnerMemo

* fix test

* update noah version

* fix anon transfer batch

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>

triple_masking dependencies to develop (#926)

* dependencies to develop

* update wasm-bindgen

* remove noah

* strike build_record_and_get_blinds

---------

Co-authored-by: shaorongqiang <shaorongqiang@aliyun.com>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Renew #935 for merging develop with main. (#937)

* fix

* Upgrade noah to v0.4.6

* update

---------

Co-authored-by: weikeng <cusgadmin@Weikengs-MacBook-Pro.local>
Co-authored-by: Sun <sun@findora.org>
Co-authored-by: weikengchen <w.k@berkeley.edu>

Add noah init wasm (#941)

Fix abar_to_ar params (#950)

Let the Anemoi precompile use the platform-lib-noah library (#963)

fix build (#977)

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>

Improve Noah secp support (#981)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

---------

Co-authored-by: weikengchen <w.k@berkeley.edu>

EIP 1962 is undecided (#984)

Use BN254 Anemoi for asset ID mapping (#985)

* Improve Noah secp support

* update deps

* update platform-lib-utils for testing

* public key to bytes in data_model

* fix

* fix

* Avoid lint bug

* fix EVM XfrPublicKey deserialization

* edit the dependency

* fix error handling

* update the asset code

* fix

---------

Co-authored-by: Harshad Patil <harshad0402@gmail.com>

add validator_whitelist v1 (#972)

* fix timeout and checkpoint

* add validator_whitelist v1

* add validator_whitelist

add validator_whitelist_v2 (#976)

* add validator_whitelist_v2

* update timeout_commit 10s

* update validator_whitelist

* bug fix

* fix build

validator whitelist v3 (#980)

downgrade ctrlc (#973)

update timeout_propose 3s (#974)

update timeout_commit 10s (#975)

Fix Fn_Check Bug (#970)

android add execption (#979)

validator whitelist v3 (#980)

pr

Adding checkpoint condition to AnemoiJive381 upgrade

only use deprecated AnemoiJive381 for old precompiled contract

query server API to get derived asset code

fix build

remo0ve unneeded sign in tx build

fix Lint

fmt

fix build

CLI test file

test

disable eth address transfer from EVM

fix build

enable eth-address in CLI

fix lint

update lib-noah branch

update demo tests for triple masking

fix CLI eth-address

removed unrelated code changes

remove some unrelated code

review ledger package

fix wallet_mobile build

remove unneccesary refactoring

fix some refactoring

synced changes from platform-lib-noah

removed testing scripts

fmt & lint

fix import statements

remove unneeded refactoring

fix conflicts

* removed some non Triple masking related code

* rename checkpoint config var

* fix derived asset code API

* trigger tests

* trigger

* Update src/components/abciapp/src/abci/server/callback/mod.rs

* Update src/components/contracts/modules/evm/precompile/src/lib.rs

* Update lib.rs

* Update Cargo.toml

* Apply suggestions from code review

* minor fix in fn.yml

* genkey

* stake append

* staker update

* unstake and claim

* delegate, undelegate

* transfer and transfer_batch

* wallet/create, wallet/show

* asset

* other edits on fn

* fmt

* undo bash script change

* Update
src/components/abciapp/src/api/query_server/query_api/ledger_api.rs

* Update src/components/abciapp/src/api/query_server/query_api/server.rs

* Update src/components/abciapp/src/api/query_server/query_api/mod.rs

* Apply suggestions from code review

* Update src/components/finutils/src/bins/fn.rs

* additional consistency test for the asset code is not necessary

* change apphash calculation

---------

Co-authored-by: Weikeng Chen <w.k@berkeley.edu>
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.

2 participants