-
Notifications
You must be signed in to change notification settings - Fork 1.2k
XcmDryRunApi - Dry-running extrinsics to get their XCM effects #3872
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
Merged
Merged
Changes from 63 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
43faca7
feat(xcm-fee-payment-runtime-api): add XcmTransfersApi and tests
franciscoaguirre dd0376d
feat(xcm-fee-payment-runtime-api): changed XcmTransfersApi to XcmDryR…
franciscoaguirre cd1838a
feat(xcm-dry-run-api): get forwarded messages from the queues
franciscoaguirre 7e04d50
feat(xcm-dry-run-api): updated test works
franciscoaguirre ec04b80
feat(xcm-dry-run-api): add test for a reserve asset transfer
franciscoaguirre c5c48ca
feat(xcm-dry-run-api): add dry_run_xcm call
franciscoaguirre df90feb
feat(xcm-dry-run-api): grab XCM that's about to be executed
franciscoaguirre ccda0df
chore(xcm-dry-run-api): remove dbgs
franciscoaguirre a9e0ec4
chore(xcm-dry-run-api): fmt
franciscoaguirre e09a9a7
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 4bec8ee
fix: compilation issues
franciscoaguirre 3502666
chore(pallet-xcm): revert refactor
franciscoaguirre 7ccd0e4
docs(xcm-executor): update comments about RecordXcm
franciscoaguirre 7b825f2
feat(xcm-dry-run-api): add emitted events to XcmDryRunEffects
franciscoaguirre 3767e4d
chore(pallet-xcm): remove refactor leftovers
franciscoaguirre f7c55ac
feat(xcm-fee-payment-runtime-api): improve test
franciscoaguirre 26c2b7d
feat(xcm-dry-run-api): add execution result to XcmDryRunEffects and E…
franciscoaguirre 609137b
feat(xcm-dry-run-api): add error enum and return error when extrinsic…
franciscoaguirre 465e5ee
Update polkadot/xcm/xcm-fee-payment-runtime-api/tests/mock.rs
franciscoaguirre 8c47443
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre b6864fe
fix(xcm-fee-payment-runtime-api): reexport inner modules instead of s…
franciscoaguirre aba11e8
fix(xcm-recorder): add XcmRecorder config item to all XCM configs
franciscoaguirre 3a4210b
fix: fmt
franciscoaguirre eca20db
fix(xcm-fee-payment-runtime-api): add missing BenchmarkHelper in mock
franciscoaguirre 34cdb17
doc: add prdoc
franciscoaguirre 317fb6e
feat(xcm-dry-run-api): add XcmDryRunApi to fake_runtime_api
franciscoaguirre 08d5ebc
doc: update prdoc
franciscoaguirre a202ddf
fix(xcm-fee-payment-runtime-api): add runtime-benchmarks feature and …
franciscoaguirre 2462d7a
fix(prdoc): fix crate names and add xcm-builder
franciscoaguirre 84b1e0b
fix(xcm-fee-payment-runtime-api): propagate features and format Cargo…
franciscoaguirre 114860f
fix(xcm-fee-payment-runtime-api): fix weight update issue in tests
franciscoaguirre 6f6cb91
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre c696674
fix: fmt
franciscoaguirre 3e7dc0c
fix(xcm-fee-payment-runtime-api): propagate std feature to log
franciscoaguirre ea13755
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre f304400
fix(xcm-fee-payment-runtime-api): fix feature propagation
franciscoaguirre f80aaf5
fix(xcm-fee-payment-runtime-api): format Cargo.toml
franciscoaguirre 43496f3
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 2a7af71
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 16d3a54
fix(xcm-builder): remove XcmRecorder from polkadot-test-runtime
franciscoaguirre 030255c
feat(xcm-dry-run-api): add test setup with emulator
franciscoaguirre 0d2e19c
feat(xcm-fee-estimation): add xcm emulator test for fee estimation
franciscoaguirre 97ee470
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 9fcf4b2
fix(pallet-xcm): RecordXcm test was using old function
franciscoaguirre 5aeae3a
fix: fmt
franciscoaguirre a90c091
feat: finish implementing XcmDryRunApi for westend and asset hub westend
franciscoaguirre 6a35294
fix(xcm-dry-run-api): fix multiple forwarded messages instead of one
franciscoaguirre cc2b177
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 51b279c
feat: add multi-hop example to xcm estimation
franciscoaguirre cad8cd5
fix: remove unnecessary clone
franciscoaguirre 3c12610
fix(xcm-fee-estimation-tests): use immortal transactions
franciscoaguirre a498649
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 6246d7f
fix: fmt
franciscoaguirre 69a26ec
fix: Cargo.toml format
franciscoaguirre 29a0b8a
Update cumulus/parachains/runtimes/testing/penpal/src/lib.rs
franciscoaguirre 6d785f3
feat: implement InspectMessageQueues on the bridge router
franciscoaguirre 3298ff2
feat(xcm-dry-run-api): remove unnecessary weight parameter
franciscoaguirre f153875
feat(record-xcm): add getters and setters to trait
franciscoaguirre 9be1146
chore(xcm-dry-run-api): change program and message to xcm
franciscoaguirre b71536e
fix(xcm-fee-payment-runtime-api): remove no longer used parameter
franciscoaguirre 36927bd
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 6080edb
fix: fmt
franciscoaguirre 8c9a090
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
franciscoaguirre 720f0c0
chore: address feedback
franciscoaguirre bb712bb
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre ccf6a70
fix: merge conflicts
franciscoaguirre a30de00
fix(xcm-fee-payment-runtime-api): deal with local xcm being an option…
franciscoaguirre 5a2cbf5
feat(rococo-runtime): add XcmDryRunApi
franciscoaguirre a5c4c67
feat(asset-hub-rococo-runtime): add XcmDryRunApi
franciscoaguirre e7beae4
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre 0a42dea
fix(asset-hub-rococo-runtime): feature propagation
franciscoaguirre 93c5b83
fix(asset-hub-rococo): taplo
franciscoaguirre 7edc8b8
fix: clippy
franciscoaguirre 186ea04
Merge branch 'master' into xcm-transfers-fee-estimation
franciscoaguirre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.