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.cjs CHANGED
@@ -86640,7 +86640,7 @@ var simulateOrThrow = async (env2) => {
86640
86640
  if (!payload.simulation) {
86641
86641
  throw new Error(`Invalid simulation response: ${JSON.stringify(payload)}`);
86642
86642
  }
86643
- const { network_id, block_number, error_message, status, block_header } = payload.simulation;
86643
+ const { network_id, block_number, error_message, status, gas_used, block_header } = payload.simulation;
86644
86644
  return {
86645
86645
  result: status,
86646
86646
  blockNumber: block_number,
@@ -86649,8 +86649,8 @@ var simulateOrThrow = async (env2) => {
86649
86649
  baseFeePerGas: hexToNumber(block_header.baseFeePerGas),
86650
86650
  gasLimit: hexToNumber(block_header.gasLimit),
86651
86651
  timestamp: hexToNumber(block_header.timestamp),
86652
- gasUsed: hexToNumber(block_header.gasUsed)
86652
+ gasUsed: gas_used
86653
86653
  };
86654
86654
  };
86655
86655
 
86656
- //# debugId=35C48449D04E1CA364756E2164756E21
86656
+ //# debugId=E0F67214DC8C982264756E2164756E21