@pyxisjs/chains 0.2.5 → 0.2.6
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/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8565,9 +8565,7 @@ var AptosChainAdapter = class extends import_core2.BaseChainAdapter {
|
|
|
8565
8565
|
"quote_bridge",
|
|
8566
8566
|
lzTellerAddress
|
|
8567
8567
|
);
|
|
8568
|
-
const
|
|
8569
|
-
const options = import_lz_v2_utilities.Options.newOptions().addExecutorLzReceiveOption(gasLimit);
|
|
8570
|
-
const extraOptions = options.toBytes();
|
|
8568
|
+
const extraOptions = import_lz_v2_utilities.Options.newOptions().toBytes();
|
|
8571
8569
|
const payInZro = false;
|
|
8572
8570
|
const dstEid = (0, import_core2.getLayerZeroEndpointId)(destinationChain);
|
|
8573
8571
|
const recipientBytes = this.addressToBytes(recipient);
|
|
@@ -9344,7 +9342,7 @@ var EthereumChainAdapter = class extends import_core4.BaseChainAdapter {
|
|
|
9344
9342
|
const extraOptionsHex = "0x" + Buffer.from(args.extraOptions).toString("hex");
|
|
9345
9343
|
const bridgeData = {
|
|
9346
9344
|
chainSelector: dstEid,
|
|
9347
|
-
messageGas: args.
|
|
9345
|
+
messageGas: (0, import_core4.getLayerZeroGasLimit)(this.chain.id, args.destinationChain),
|
|
9348
9346
|
destinationChainReceiver: args.recipient,
|
|
9349
9347
|
bridgeFeeToken: import_viem.ethAddress,
|
|
9350
9348
|
data: extraOptionsHex
|