Skip to content

Native asset barrier#1247

Open
ghzlatarev wants to merge 75 commits into
mantafrom
ghzlatarev/whale-blocker
Open

Native asset barrier#1247
ghzlatarev wants to merge 75 commits into
mantafrom
ghzlatarev/whale-blocker

Conversation

@ghzlatarev

@ghzlatarev ghzlatarev commented Aug 16, 2023

Copy link
Copy Markdown
Contributor

Description


Before we can approve this PR for merge, please make sure that all the following items have been checked off:

  • Connected to an issue with discussion and accepted design using zenhub "Connect issue" button below
  • Added one label out of the L- group to this PR
  • Added one or more labels from the A- and C- groups to this PR
  • Explicitly labelled A-calamari and/or A-manta if your changes are meant for/impact either of these (CI depends on it)
  • Re-reviewed Files changed in the Github PR explorer.

Situational Notes:

  • If adding functionality, write unit tests!
  • If importing a new pallet, choose a proper module index for it, and allow it in BaseFilter. Ensure every extrinsic works from front-end. If there's corresponding tool, ensure both work for each other.
  • If needed, update our Javascript/Typescript APIs. These APIs are officially used by exchanges or community developers.
  • If modifying existing runtime storage items, make sure to implement storage migrations for the runtime and test them with try-runtime. This includes migrations inherited from upstream changes, and you can search the diffs for modifications of #[pallet::storage] items to check for any.

ghzlatarev and others added 19 commits August 11, 2023 09:35
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
…ay limit without skipping days

Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
…l mocks. Unit and integration tests passing

Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
…ate weights file with dummy values

Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
…ded, add some additional checks

Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Comment thread pallets/manta-pay/Cargo.toml Outdated
Comment thread pallets/native-barrier/Cargo.toml Outdated
Comment thread pallets/native-barrier/src/benchmarking.rs Outdated
Comment thread pallets/native-barrier/src/benchmarking.rs Outdated
Comment thread pallets/native-barrier/src/lib.rs Outdated
Comment thread pallets/native-barrier/src/lib.rs Outdated
Comment thread pallets/pallet-lottery/Cargo.toml Outdated
Comment thread runtime/calamari/src/diff_tx_fees.rs Outdated
Comment thread runtime/calamari/src/lib.rs Outdated
Comment thread runtime/manta/src/diff_tx_fees.rs Outdated
Comment thread runtime/manta/src/lib.rs Outdated
@ferrell-code

ferrell-code commented Aug 22, 2023

Copy link
Copy Markdown
Contributor

I need to add the barrier in each extrinsic. Was thinking of putting in the base call filter but there i can't get the origin.

I think we can use SignedExtra to check the barrier here

pub type SignedExtra = (

and not fork balances

ghzlatarev and others added 2 commits August 23, 2023 08:08
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
@ghzlatarev ghzlatarev requested a review from a team as a code owner August 31, 2023 02:48
ghzlatarev and others added 4 commits August 31, 2023 07:29
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-benchmark-checks A-calamari Area: Issues and PRs related to the Calamari Runtime A-integration-test-checks A-manta Area: Issues and PRs related to the Manta Runtime A-unit-test-checks A-xcm Area: Issues and PRs related to Cross-Consensus Messaging (XCM) C-enhancement Category: An issue proposing an enhancement or a PR with one L-added Log: Issues and PRs related to addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Daily limit for outgoing xcm transfers of native asset

2 participants