zksync-ethers
Advanced tools
Comparing version 6.14.1 to 6.14.2
@@ -163,3 +163,7 @@ import { ethers, } from 'ethers'; | ||
const deploymentTx = contract.deploymentTransaction(); | ||
contractWithCorrectAddress.deploymentTransaction = () => Object.assign(Object.create(Object.getPrototypeOf(deploymentTx)), deploymentTx, deployTxReceipt); | ||
deploymentTx.blockNumber = deployTxReceipt.blockNumber; | ||
deploymentTx.blockHash = deployTxReceipt.blockHash; | ||
deploymentTx.index = deployTxReceipt.index; | ||
deploymentTx.gasPrice = deployTxReceipt.gasPrice; | ||
contractWithCorrectAddress.deploymentTransaction = () => deploymentTx; | ||
return contractWithCorrectAddress; | ||
@@ -166,0 +170,0 @@ } |
@@ -167,3 +167,7 @@ "use strict"; | ||
const deploymentTx = contract.deploymentTransaction(); | ||
contractWithCorrectAddress.deploymentTransaction = () => Object.assign(Object.create(Object.getPrototypeOf(deploymentTx)), deploymentTx, deployTxReceipt); | ||
deploymentTx.blockNumber = deployTxReceipt.blockNumber; | ||
deploymentTx.blockHash = deployTxReceipt.blockHash; | ||
deploymentTx.index = deployTxReceipt.index; | ||
deploymentTx.gasPrice = deployTxReceipt.gasPrice; | ||
contractWithCorrectAddress.deploymentTransaction = () => deploymentTx; | ||
return contractWithCorrectAddress; | ||
@@ -170,0 +174,0 @@ } |
{ | ||
"name": "zksync-ethers", | ||
"version": "6.14.1", | ||
"version": "6.14.2", | ||
"main": "build/index.js", | ||
@@ -5,0 +5,0 @@ "module": "build-esm/index.js", |
@@ -244,8 +244,8 @@ import { | ||
contractWithCorrectAddress.deploymentTransaction = () => | ||
Object.assign( | ||
Object.create(Object.getPrototypeOf(deploymentTx)), | ||
deploymentTx, | ||
deployTxReceipt | ||
) as ContractTransactionResponse; | ||
(deploymentTx as any).blockNumber = deployTxReceipt.blockNumber; | ||
(deploymentTx as any).blockHash = deployTxReceipt.blockHash; | ||
(deploymentTx as any).index = deployTxReceipt.index; | ||
(deploymentTx as any).gasPrice = deployTxReceipt.gasPrice; | ||
contractWithCorrectAddress.deploymentTransaction = () => deploymentTx; | ||
return contractWithCorrectAddress; | ||
@@ -252,0 +252,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5132498
134711