Skip to content

Instantly share code, notes, and snippets.

@brenzi
Created March 26, 2024 16:31
Show Gist options
  • Save brenzi/4c585015df7ad9ca1c84ba1378c1c028 to your computer and use it in GitHub Desktop.
Save brenzi/4c585015df7ad9ca1c84ba1378c1c028 to your computer and use it in GitHub Desktop.
XCM reserve transfer trapped
2024-03-26 17:13:06.012 INFO tokio-runtime-worker substrate: [Relaychain] ✨ Imported #91 (0x1660…1aaf)
2024-03-26 17:13:06.015 INFO tokio-runtime-worker sc_basic_authorship::basic_authorship: [Parachain] 🙌 Starting consensus session on top of parent 0x051b6032fa848d978dd8a300fbc5063d71ec6f9a201f8f0658453eb7e6901488
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedWeightBounds message: Xcm([ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }, SetTopic([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59])])
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::execute_xcm_in_credit: [Parachain] origin: MultiLocation { parents: 1, interior: Here }, message: Xcm([ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }, SetTopic([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59])]), weight_credit: Weight { ref_time: 0, proof_size: 0 }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::barriers: [Parachain] TrailingSetTopicAsId origin: MultiLocation { parents: 1, interior: Here }, instructions: [ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }, SetTopic([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59])], max_weight: Weight { ref_time: 5000000, proof_size: 5120 }, properties: Properties { weight_credit: Weight { ref_time: 0, proof_size: 0 }, message_id: None }
2024-03-26 17:13:06.016 WARN tokio-runtime-worker xcm::barrier: [Parachain] Unexpected ReserveAssetDeposited from the Relay Chain
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::barriers: [Parachain] TakeWeightCredit origin: MultiLocation { parents: 1, interior: Here }, instructions: [ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }], max_weight: Weight { ref_time: 5000000, proof_size: 5120 }, properties: Properties { weight_credit: Weight { ref_time: 0, proof_size: 0 }, message_id: Some([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59]) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::barriers: [Parachain] AllowKnownQueryResponses origin: MultiLocation { parents: 1, interior: Here }, instructions: [ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }], max_weight: Weight { ref_time: 5000000, proof_size: 5120 }, properties: Properties { weight_credit: Weight { ref_time: 0, proof_size: 0 }, message_id: Some([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59]) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::barriers: [Parachain] WithComputedOrigin origin: MultiLocation { parents: 1, interior: Here }, instructions: [ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }], max_weight: Weight { ref_time: 5000000, proof_size: 5120 }, properties: Properties { weight_credit: Weight { ref_time: 0, proof_size: 0 }, message_id: Some([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59]) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::barriers: [Parachain] AllowTopLevelPaidExecutionFrom origin: MultiLocation { parents: 1, interior: Here }, instructions: [ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }])), ClearOrigin, BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Unlimited }, DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }], max_weight: Weight { ref_time: 5000000, proof_size: 5120 }, properties: Properties { weight_credit: Weight { ref_time: 0, proof_size: 0 }, message_id: Some([193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59]) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::process: [Parachain] origin: Some(MultiLocation { parents: 1, interior: Here }), total_surplus/refunded: Weight { ref_time: 0, proof_size: 0 }/Weight { ref_time: 0, proof_size: 0 }, error_handler_weight: Weight { ref_time: 0, proof_size: 0 }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::process_instruction: [Parachain] === ReserveAssetDeposited(MultiAssets([MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }]))
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::contains: [Parachain] NativeAsset asset: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, origin: MultiLocation { parents: 1, interior: Here }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::process_instruction: [Parachain] === ClearOrigin
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::process_instruction: [Parachain] === BuyExecution { fees: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(10000000000) }, weight_limit: Limited(Weight { ref_time: 5000000, proof_size: 5120 }) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedRateOfFungible::buy_weight weight: Weight { ref_time: 5000000, proof_size: 5120 }, payment: Assets { fungible: {Concrete(MultiLocation { parents: 1, interior: Here }): 10000000000}, non_fungible: {} }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedRateOfFungible::buy_weight weight: Weight { ref_time: 5000000, proof_size: 5120 }, payment: Assets { fungible: {Concrete(MultiLocation { parents: 1, interior: Here }): 10000000000}, non_fungible: {} }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedRateOfFungible::buy_weight weight: Weight { ref_time: 5000000, proof_size: 5120 }, payment: Assets { fungible: {Concrete(MultiLocation { parents: 1, interior: Here }): 10000000000}, non_fungible: {} }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::process_instruction: [Parachain] === DepositAsset { assets: Wild(AllCounted(1)), beneficiary: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) } }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::currency_adapter: [Parachain] deposit_asset what: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(9650000000) }, who: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::fungibles_adapter: [Parachain] deposit_asset what: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(9650000000) }, who: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [124, 119, 197, 249, 90, 114, 193, 158, 5, 18, 51, 179, 177, 224, 29, 247, 78, 193, 60, 177, 97, 177, 9, 252, 95, 22, 206, 28, 101, 49, 111, 36] }) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::execute: [Parachain] !!! ERROR: FailedToTransactAsset("Account cannot be created")
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::execute_xcm_in_credit: [Parachain] result: Err(ExecutorError { index: 3, xcm_error: FailedToTransactAsset("Account cannot be created"), weight: Weight { ref_time: 1000000, proof_size: 1024 } })
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedRateOfFungible::refund_weight weight: Weight { ref_time: 1000000, proof_size: 1024 }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedRateOfFungible::refund_weight weight: Weight { ref_time: 1000000, proof_size: 1024 }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::weight: [Parachain] FixedRateOfFungible::refund_weight weight: Weight { ref_time: 1000000, proof_size: 1024 }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::fungibles_adapter: [Parachain] deposit_asset what: MultiAsset { id: Concrete(MultiLocation { parents: 1, interior: Here }), fun: Fungible(280000000) }, who: MultiLocation { parents: 0, interior: X1(AccountId32 { network: None, id: [109, 111, 100, 108, 112, 121, 47, 116, 114, 115, 114, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }) }
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::execute_xcm_in_credit: [Parachain] Trapping assets in holding register: Assets { fungible: {Concrete(MultiLocation { parents: 1, interior: Here }): 70000000}, non_fungible: {} }, context: XcmContext { origin: None, message_id: [193, 88, 60, 190, 28, 2, 185, 81, 112, 124, 196, 190, 80, 201, 252, 167, 97, 83, 1, 200, 75, 142, 221, 164, 245, 58, 111, 152, 240, 170, 198, 59], topic: None } (original_origin: MultiLocation { parents: 1, interior: Here })
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::execute_xcm_in_credit: [Parachain] Execution errored at 3: FailedToTransactAsset("Account cannot be created") (original_origin: MultiLocation { parents: 1, interior: Here })
2024-03-26 17:13:06.016 TRACE tokio-runtime-worker xcm::process-message: [Parachain] XCM message execution incomplete, used weight: Weight(ref_time: 4000000, proof_size: 4096), error: FailedToTransactAsset("Account cannot be created")
2024-03-26 17:13:06.016 DEBUG tokio-runtime-worker runtime::election-provider: [Relaychain] [#91] 🗳 closed signed phase, found solution? false, discarded 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment