@moonbeam-network/xcm-builder 1.0.0-dev.283 → 1.0.0-dev.284
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.mjs +2 -1
- package/build/index.mjs.map +1 -1
- package/package.json +3 -3
package/build/index.mjs
CHANGED
|
@@ -4855,6 +4855,7 @@ function polkadotXcm2() {
|
|
|
4855
4855
|
"Bridge chain fee is required for the polkadotXcm.canonicalEth function"
|
|
4856
4856
|
);
|
|
4857
4857
|
}
|
|
4858
|
+
const protocolFeeAmount = protocolFee.amount * 110n / 100n;
|
|
4858
4859
|
return new ExtrinsicConfig({
|
|
4859
4860
|
module: pallet7,
|
|
4860
4861
|
func,
|
|
@@ -4873,7 +4874,7 @@ function polkadotXcm2() {
|
|
|
4873
4874
|
parents: 1,
|
|
4874
4875
|
interior: "Here"
|
|
4875
4876
|
},
|
|
4876
|
-
fun: { Fungible:
|
|
4877
|
+
fun: { Fungible: protocolFeeAmount }
|
|
4877
4878
|
},
|
|
4878
4879
|
{
|
|
4879
4880
|
id: {
|