@layerzerolabs/lz-movevm-sdk-v2 3.0.112-aptos.0 → 3.0.113-aptos.0
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/CHANGELOG.md +24 -0
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -1794,7 +1794,7 @@ var Executor = class {
|
|
|
1794
1794
|
async getAptosV1ExecutorV2FeeLibrary(aptosV1ExecutorV2Address) {
|
|
1795
1795
|
try {
|
|
1796
1796
|
const view = await this.sdk.viewFunction({
|
|
1797
|
-
functionName: `${aptosV1ExecutorV2Address}::
|
|
1797
|
+
functionName: `${aptosV1ExecutorV2Address}::executor_fee_lib_config::get_executor_fee_lib`,
|
|
1798
1798
|
functionArgs: [this.module[0]],
|
|
1799
1799
|
functionArgTypes: ["address"]
|
|
1800
1800
|
});
|
|
@@ -1803,7 +1803,6 @@ var Executor = class {
|
|
|
1803
1803
|
if (e instanceof MoveAbortError && e.abortCode === EAPTOS_V1_EXECUTOR_V2_FEE_LIB_NOT_FOUND) {
|
|
1804
1804
|
return "";
|
|
1805
1805
|
}
|
|
1806
|
-
console.log(`getAptosV1ExecutorV2FeeLibrary error: ${e}`);
|
|
1807
1806
|
throw e;
|
|
1808
1807
|
}
|
|
1809
1808
|
}
|
|
@@ -2258,7 +2257,7 @@ var setWorkerConfigForFeeLibRoutingOptInForUln301ScriptHex2 = (deployerAddressHe
|
|
|
2258
2257
|
var registerAptosV1ExecutorV2ScriptHex = (deployerAddressHex, aptosV1ExecutorV2AddressHex) => {
|
|
2259
2258
|
aptosV1ExecutorV2AddressHex = trim0x(padify(aptosV1ExecutorV2AddressHex));
|
|
2260
2259
|
deployerAddressHex = trim0x(padify(deployerAddressHex));
|
|
2261
|
-
return `
|
|
2260
|
+
return `a11ceb0b060000000501000403040a050e0c071a5b087540000001010102030100000303020003060c0505010c0002060c05176578656375746f725f6665655f6c69625f636f6e666967166f626a6563745f636f64655f6465706c6f796d656e74166765745f636f64655f6f626a6563745f7369676e6572147365745f6578656375746f725f6665655f6c6962${aptosV1ExecutorV2AddressHex}${deployerAddressHex}000001080b000b0111000c030e030b02110102`;
|
|
2262
2261
|
};
|
|
2263
2262
|
function asciiToHex(str) {
|
|
2264
2263
|
let hex = "";
|