damm-sdk 1.2.23 → 1.2.25
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
CHANGED
|
@@ -86425,7 +86425,7 @@ var simulateOrThrow = async (env2) => {
|
|
|
86425
86425
|
if (!payload.simulation) {
|
|
86426
86426
|
throw new Error(`Invalid simulation response: ${JSON.stringify(payload)}`);
|
|
86427
86427
|
}
|
|
86428
|
-
const { network_id, block_number, error_message, status, block_header } = payload.simulation;
|
|
86428
|
+
const { network_id, block_number, error_message, status, gas_used, block_header } = payload.simulation;
|
|
86429
86429
|
return {
|
|
86430
86430
|
result: status,
|
|
86431
86431
|
blockNumber: block_number,
|
|
@@ -86434,7 +86434,7 @@ var simulateOrThrow = async (env2) => {
|
|
|
86434
86434
|
baseFeePerGas: hexToNumber(block_header.baseFeePerGas),
|
|
86435
86435
|
gasLimit: hexToNumber(block_header.gasLimit),
|
|
86436
86436
|
timestamp: hexToNumber(block_header.timestamp),
|
|
86437
|
-
gasUsed:
|
|
86437
|
+
gasUsed: gas_used
|
|
86438
86438
|
};
|
|
86439
86439
|
};
|
|
86440
86440
|
export {
|
|
@@ -86656,4 +86656,4 @@ export {
|
|
|
86656
86656
|
aave_pool_abi_default as AaveL1PoolAbi
|
|
86657
86657
|
};
|
|
86658
86658
|
|
|
86659
|
-
//# debugId=
|
|
86659
|
+
//# debugId=813E06D7B331563C64756E2164756E21
|