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

[xcm-v5] implement RFC#100: add new InitiateTransfer instruction #5876

Merged
merged 89 commits into from
Oct 23, 2024
Merged
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
3d7e24a
feat(xcm): add PayFees instruction
franciscoaguirre Aug 20, 2024
0a88320
chore(xcm-executor): clean up executor unit test and move everything …
franciscoaguirre Aug 21, 2024
0b16ca5
Merge branch 'xcm-v5' into xcm-pay-fees
franciscoaguirre Aug 21, 2024
2393087
feat(xcm-executor): tests for delivery fees and old BuyExecution
franciscoaguirre Aug 21, 2024
b9ca9e0
feat(xcm-executor): interaction between PayFees and RefundSurplus
franciscoaguirre Aug 21, 2024
22efce5
fix(xcm): add builder(pays_fees) to old xcm versions
franciscoaguirre Aug 21, 2024
49f63a4
chore(xcm-executor): unhappy tests for PayFees
franciscoaguirre Aug 21, 2024
50b06d6
chore(xcm-executor): test that leftover fees are also trapped
franciscoaguirre Aug 23, 2024
738a8c1
chore: add made-up benchmarks to all runtimes
franciscoaguirre Aug 26, 2024
995cc09
feat(xcm-builder): allow PayFees in AllowTopLevelPaidExecutionFrom ba…
franciscoaguirre Aug 26, 2024
679c3c7
feat(xcm-executor): use fees register in DepositReserveAsset
franciscoaguirre Aug 26, 2024
d934c64
feat(xcm-emulator): add set_call method for dispatching calls
franciscoaguirre Aug 26, 2024
52f3ba1
test(asset-hub-westend-integration-tests): add xcm estimation test wi…
franciscoaguirre Aug 26, 2024
900bb46
fix: fmt
franciscoaguirre Aug 26, 2024
56bcd4d
fix(xcm-executor): remove unnecessary clones
franciscoaguirre Aug 27, 2024
c062c0c
chore(asset-hub-westend-integration-tests): refactor test to decl macro
franciscoaguirre Aug 27, 2024
94f831f
feat(asset-hub-rococo-integration-tests): add PayFees test
franciscoaguirre Aug 27, 2024
3198950
fix: fmt
franciscoaguirre Aug 27, 2024
6bf562b
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=ro…
Aug 27, 2024
15a5333
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=we…
Aug 27, 2024
fb79e69
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=co…
Aug 27, 2024
4c9dddc
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 27, 2024
a8d5d1d
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 27, 2024
c1c95dc
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=co…
Aug 27, 2024
0c5afe3
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Aug 27, 2024
338d8de
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Aug 27, 2024
12164f8
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=pe…
Aug 27, 2024
c3b6bd0
chore: add missing benchmark and made up benchmarks for all runtimes
franciscoaguirre Aug 27, 2024
e2c620e
fix: remove duplicated weight
franciscoaguirre Aug 27, 2024
86b151c
fix: remove unused imports
franciscoaguirre Aug 27, 2024
2937662
Merge branch 'xcm-v5' into xcm-pay-fees
franciscoaguirre Aug 27, 2024
0eaa9fb
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=we…
Aug 27, 2024
39cf7b1
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=ro…
Aug 27, 2024
abe36c3
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=co…
Aug 27, 2024
a60172c
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 27, 2024
8470fca
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Aug 27, 2024
6a59c1d
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Aug 27, 2024
bdae9ec
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=co…
Aug 27, 2024
6b339a0
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Aug 27, 2024
02b0fbb
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=pe…
Aug 27, 2024
ec92154
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=pe…
Aug 27, 2024
1091ac7
doc: add prdoc
franciscoaguirre Aug 30, 2024
f0f1aac
fix: prdoc
franciscoaguirre Aug 30, 2024
d32a028
Merge branch 'xcm-v5' into xcm-pay-fees
franciscoaguirre Sep 4, 2024
62e71ca
Merge branch 'xcm-v5' into xcm-pay-fees
acatangiu Oct 1, 2024
25a2b4d
xcm-v5: add new InitiateTransfer instruction
acatangiu Sep 27, 2024
91794c7
add benchmark and weights for InitiateTransfer
acatangiu Sep 27, 2024
adb4ac2
add integration tests
acatangiu Sep 30, 2024
4e568d1
have tests use PayFees
acatangiu Oct 2, 2024
60345e5
adjust implementation and documentation to work with PayFees
acatangiu Oct 3, 2024
5378ec7
clean up test
acatangiu Oct 3, 2024
3ef8cf1
fix import
acatangiu Oct 3, 2024
1737476
fix checks for teleports and reserve-withdrawals
acatangiu Oct 3, 2024
919107e
chore: address feedback
franciscoaguirre Oct 7, 2024
f10feb0
".git/.scripts/commands/fmt/fmt.sh"
Oct 7, 2024
a9334fa
fix: if no delivery fees are defined, xcm should still work
franciscoaguirre Oct 7, 2024
adbec21
".git/.scripts/commands/fmt/fmt.sh"
Oct 7, 2024
328891c
Merge branch 'xcm-pay-fees' of github.com:paritytech/polkadot-sdk int…
acatangiu Oct 7, 2024
31d283a
fix auto-swap delivery fee when using PayFees
acatangiu Oct 7, 2024
f9af07d
Merge branch 'xcm-v5' of github.com:paritytech/polkadot-sdk into impl…
acatangiu Oct 17, 2024
b0ffd1a
fix merge dmg
acatangiu Oct 17, 2024
ec07efc
Merge branch 'xcm-v5' of github.com:paritytech/polkadot-sdk into impl…
acatangiu Oct 17, 2024
6e3c5ec
fix merge dmg
acatangiu Oct 17, 2024
31cf0a8
Merge branch 'xcm-v5' into impl-rfc-100
acatangiu Oct 21, 2024
c09dd14
consolidate v5->v4 conversion
acatangiu Oct 21, 2024
6165999
test permissions
franciscoaguirre Oct 21, 2024
3cf1f10
revert: test permissions
franciscoaguirre Oct 21, 2024
5db5842
chore: change VersionedXcm::V5 to VersionedXcm::from
franciscoaguirre Oct 21, 2024
2abea08
fix: add new instruction benchmark to missing runtimes
franciscoaguirre Oct 21, 2024
e27689b
bench(xcm): initiate_transfer
franciscoaguirre Oct 21, 2024
c8352fd
".git/.scripts/commands/fmt/fmt.sh"
Oct 21, 2024
a181c4d
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Oct 21, 2024
f184a9c
doc: add prdoc
franciscoaguirre Oct 21, 2024
dec6af9
fix: prdoc bad character
franciscoaguirre Oct 21, 2024
1cc0c56
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=we…
Oct 21, 2024
668b548
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=ro…
Oct 21, 2024
5100b2c
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Oct 21, 2024
b421fad
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=co…
Oct 21, 2024
5da29b9
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=as…
Oct 21, 2024
127b844
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=co…
Oct 21, 2024
6623f50
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
Oct 21, 2024
f92bb6b
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=pe…
Oct 21, 2024
2649e67
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=pe…
Oct 21, 2024
bef1b0a
fix: remove unnecessary clone
franciscoaguirre Oct 22, 2024
fb35fd9
chore: link issue to TODO
franciscoaguirre Oct 23, 2024
fb75a73
chore: create new Error type in XCMv5
franciscoaguirre Oct 23, 2024
89e0ce0
chore(xcm): link issue to TODO
franciscoaguirre Oct 23, 2024
58db84d
chore: remove commented code
franciscoaguirre Oct 23, 2024
b7db28f
fix: updated error
franciscoaguirre Oct 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove duplicated weight
  • Loading branch information
franciscoaguirre committed Aug 27, 2024
commit e2c620e845f415f34e51eaf247ad334bcdd6afb1
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ impl<T: frame_system::Config> WeightInfo<T> {
// Minimum execution time: 3_313_000 picoseconds.
Weight::from_parts(3_422_000, 0)
}
pub fn pay_fees() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_313_000 picoseconds.
Weight::from_parts(3_422_000, 0)
}
// Storage: `PolkadotXcm::Queries` (r:1 w:0)
// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`)
pub fn query_response() -> Weight {
Expand Down
Loading