Skip to content

Commit

Permalink
MantaPay V1 for Dolphin V3 deployment (#890)
Browse files Browse the repository at this point in the history
* wip: start upgrading palllet

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: commit save point

Signed-off-by: Georgi Zlatarev <[email protected]>

* wip: save point

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix mantapay mock

Signed-off-by: Georgi Zlatarev <[email protected]>

* wip: checkpoint

Signed-off-by: Georgi Zlatarev <[email protected]>

* wip: checkpoint

Signed-off-by: Georgi Zlatarev <[email protected]>

* wip: checkpoint

Signed-off-by: Georgi Zlatarev <[email protected]>

* chore: fix signature error and add address partition

Signed-off-by: Brandon H. Gomes <[email protected]>

* wip: fix merge conflicts

Signed-off-by: Georgi Zlatarev <[email protected]>

* v1 to v2

Signed-off-by: Francisco Hernandez Iglesias <[email protected]>

* v1 to v2 everywhere

Signed-off-by: Francisco Hernandez Iglesias <[email protected]>

* disable benchmarkiing for asset-manager

Signed-off-by: Georgi Zlatarev <[email protected]>

* Use unsafe_no_prove_full in coin generation

Signed-off-by: Georgi Zlatarev <[email protected]>

* More features for precompute_coins

Signed-off-by: Georgi Zlatarev <[email protected]>

* proof-length update and comment

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update for v2 circuit

Signed-off-by: Georgi Zlatarev <[email protected]>

* Clean up

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix manta-pay benchmarks

Signed-off-by: Georgi Zlatarev <[email protected]>

* Re-enable asset-manager benchmarks

Signed-off-by: Georgi Zlatarev <[email protected]>

* Re-enable asset-manager benchmarks

Signed-off-by: Georgi Zlatarev <[email protected]>

* Clean up

Signed-off-by: Georgi Zlatarev <[email protected]>

* Use latest comimt of manta-rs

Signed-off-by: Georgi Zlatarev <[email protected]>

* Add dolphin-v3 chainspec

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix clippy

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix clippy for manta-pay tests

Signed-off-by: Georgi Zlatarev <[email protected]>

* Taplo fmt

Signed-off-by: Georgi Zlatarev <[email protected]>

* More clippy

Signed-off-by: Georgi Zlatarev <[email protected]>

* More consistent chain-spec string

Signed-off-by: Georgi Zlatarev <[email protected]>

* Simplify 0 check in id conversions

Signed-off-by: Georgi Zlatarev <[email protected]>

* Make utxo.is_transparent an enum isntead of bool, with Opaque variant as default

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix clippy

Signed-off-by: Georgi Zlatarev <[email protected]>

* bug fixed:

Signed-off-by: Francisco Hernandez Iglesias <[email protected]>

* Update manta-rs to insert receiver utxo in to-public precomputed coins. Compiles but InvalidAuthorizationSignature

Signed-off-by: Georgi Zlatarev <[email protected]>

* Use dolphin_properties for the new chain-spec, not calamari

Signed-off-by: Georgi Zlatarev <[email protected]>

* rename is_transparent field to transparency since no longer a bool

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update with LightIncomingNote

Signed-off-by: Georgi Zlatarev <[email protected]>

* Revert precompute_coins.rs

Signed-off-by: Georgi Zlatarev <[email protected]>

* Remove println! macros

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update accumulator in to_private::prove_full and add a new test

Signed-off-by: Georgi Zlatarev <[email protected]>

* Add 2 more nodes for calamari-local integration tests

Signed-off-by: Georgi Zlatarev <[email protected]>

* Clean up tests

Signed-off-by: Georgi Zlatarev <[email protected]>

* Remove erroneously pulled in Cargo.lock changes

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix fmt in benchmark

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix precompute_coins.rs

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update to circuits v3

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix decode error

Signed-off-by: Georgi Zlatarev <[email protected]>

* insert receiver1 before receiver 0 utxo

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix benchmark tests

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix linters

Signed-off-by: Georgi Zlatarev <[email protected]>

* Clean up types and add comments

Signed-off-by: Georgi Zlatarev <[email protected]>

* BUmp rust version to 1.62

Signed-off-by: Georgi Zlatarev <[email protected]>

* Error handle a few expects

Signed-off-by: Georgi Zlatarev <[email protected]>

* Remove unwraps

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update manta-rs commit

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update Dolphin weights

Signed-off-by: Georgi Zlatarev <[email protected]>

* Fix linter

Signed-off-by: Georgi Zlatarev <[email protected]>

* Use latest manta-rs commit|

Signed-off-by: Georgi Zlatarev <[email protected]>

* 3 nodes instead of 5 in chain-spec

Signed-off-by: Georgi Zlatarev <[email protected]>

* Use json genesis file for DolphinV3

Signed-off-by: Georgi Zlatarev <[email protected]>

* Remove unused imports

Signed-off-by: Georgi Zlatarev <[email protected]>

* Update genesis json

Signed-off-by: Georgi Zlatarev <[email protected]>

Signed-off-by: Brandon H. Gomes <[email protected]>
Signed-off-by: Georgi Zlatarev <[email protected]>
Signed-off-by: Francisco Hernandez Iglesias <[email protected]>
Co-authored-by: Brandon H. Gomes <[email protected]>
Co-authored-by: Francisco Hernandez Iglesias <[email protected]>
  • Loading branch information
3 people authored Nov 29, 2022
1 parent 0365ac7 commit abfa78e
Show file tree
Hide file tree
Showing 44 changed files with 2,278 additions and 1,526 deletions.
30 changes: 28 additions & 2 deletions .github/resources/config-for-integration-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"runtime_genesis_config": {
"configuration": {
"config": {
"validation_upgrade_frequency": 1,
"validation_upgrade_delay": 10
"validation_upgrade_frequency": 5,
"validation_upgrade_delay": 5
}
}
}
Expand Down Expand Up @@ -85,6 +85,32 @@
"--execution=wasm",
"--wasm-execution=compiled"
]
},
{
"name": "dave",
"wsPort": 9924,
"port": 32444,
"flags": [
"--rpc-cors=all",
"--execution=wasm",
"--wasm-execution=compiled",
"--",
"--execution=wasm",
"--wasm-execution=compiled"
]
},
{
"name": "eve",
"wsPort": 9925,
"port": 32555,
"flags": [
"--rpc-cors=all",
"--execution=wasm",
"--wasm-execution=compiled",
"--",
"--execution=wasm",
"--wasm-execution=compiled"
]
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration_test_calamari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ jobs:
relay: 25
para: 6
peer-count:
relay: 5
para: 2
relay: 7
para: 4
- id: calamari-local
expected:
block-count:
relay: 25
para: 6
peer-count:
relay: 5
para: 2
relay: 7
para: 4
steps:
- run: |
mkdir -p $HOME/.local/share/calamari-pc
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration_test_dolphin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ jobs:
relay: 25
para: 6
peer-count:
relay: 5
para: 2
relay: 7
para: 4
- id: dolphin-local
expected:
block-count:
relay: 25
para: 6
peer-count:
relay: 5
para: 2
relay: 7
para: 4
steps:
- run: |
mkdir -p $HOME/.local/share/calamari-pc
Expand Down
Loading

0 comments on commit abfa78e

Please sign in to comment.