@atomiqlabs/chain-evm 1.0.0-dev.39 → 1.0.0-dev.40

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.
@@ -78,7 +78,7 @@ function initializeBotanix(options, bitcoinRpc, network) {
78
78
  options.rpcUrl;
79
79
  const Fees = options.fees ?? new EVMFees_1.EVMFees(provider, 2n * 1000000000n, 1000000n);
80
80
  const chainInterface = new EVMChainInterface_1.EVMChainInterface("BOTANIX", chainId, provider, {
81
- safeBlockTag: "latest",
81
+ safeBlockTag: "finalized",
82
82
  maxLogsBlockRange: options.maxLogsBlockRange ?? 500
83
83
  }, options.retryPolicy, Fees);
84
84
  const btcRelay = new EVMBtcRelay_1.EVMBtcRelay(chainInterface, bitcoinRpc, network, options.btcRelayContract ?? defaultContractAddresses.btcRelayContract, options.btcRelayDeploymentHeight ?? defaultContractAddresses.btcRelayDeploymentHeight);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-evm",
3
- "version": "1.0.0-dev.39",
3
+ "version": "1.0.0-dev.40",
4
4
  "description": "EVM specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -112,7 +112,7 @@ export function initializeBotanix(
112
112
  const Fees = options.fees ?? new EVMFees(provider, 2n * 1_000_000_000n, 1_000_000n);
113
113
 
114
114
  const chainInterface = new EVMChainInterface("BOTANIX", chainId, provider, {
115
- safeBlockTag: "latest",
115
+ safeBlockTag: "finalized",
116
116
  maxLogsBlockRange: options.maxLogsBlockRange ?? 500
117
117
  }, options.retryPolicy, Fees);
118
118