We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.15.0
i use the following script to deploy:
const { ethers } = require("hardhat"); const deployed = require("../deployed"); async function main() { UniV3Adapter = await ethers.getContractFactory("UniV3Adapter"); uniV3Adapter = await UniV3Adapter.deploy(deployed.base.wNativeToken); let tx = await uniV3Adapter.deployed(); console.log(tx); console.log(`uniV3Adapter deployed: ${uniV3Adapter.address}`); } main() .then(() => process.exit(0)) .catch(error => { console.error(error); process.exit(1); });
with the corresponding trace:
deployTransaction: { hash: '0x54de902d1c2945b78e36b05fa384e3c5bb8943d102bfad8484dbb1535f5bf1f5', type: 2, accessList: [], blockHash: '0x9c663d19532942ea51f41cd13ae5b9bf5ebda1c83ad01902e3bd00548ec945e7', blockNumber: 45776317, transactionIndex: 1, confirmations: 2, from: '0x0000000000000000000000000000000000000000', gasPrice: BigNumber { value: "1000000000" }, maxPriorityFeePerGas: BigNumber { value: "1000000000" }, maxFeePerGas: BigNumber { value: "1000000000" }, gasLimit: BigNumber { value: "644061" }, to: null, value: BigNumber { value: "0" }, nonce: 26, data: '0x60a060405234801561001057600080fd5b50604051610b2e380380610b2e83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051610a8f61009f60003960008181606b015281816103b5015281816103fb01526104900152610a8f6000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806330e6ae31146100515780636f7929f214610051578063ad5c464814610066578063fa461e33146100a9575b600080fd5b61006461005f3660046106c5565b6100bc565b005b61008d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b6100646100b736600461076a565b6100f3565b600080828060200190518101906100d3919061080e565b9092509050601f193601356100eb8686858585610190565b505050505050565b60008413806101025750600083135b61010b57600080fd5b60008061011a838501856108ac565b50915091506000806000881361014557836001600160a01b0316836001600160a01b0316108761015c565b826001600160a01b0316846001600160a01b031610885b91509150811561017757610172843033846103b3565b610186565b829350610186843033846103b3565b5050505050505050565b6000650f2882bf0b3360d21b808316036101a75750805b600080848060200190518101906101be91906108f7565b506040516370a0823160e01b815230600482015291935091506000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561020b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022f9190610939565b90506000826001600160a01b0316846001600160a01b0316109050886001600160a01b031663128acb088b83858c6001600160a01b0316600014610273578c6102ac565b8561029c57610297600173fffd8963efd1fc6a506488495d951d5263988d26610968565b6102ac565b6102ac6401000276a3600161098f565b8c6040518663ffffffff1660e01b81526004016102cd9594939291906109af565b60408051808303816000875af11580156102eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030f9190610a0c565b50506040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa158015610358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061037c9190610939565b905060008111801561039657506001600160a01b03861615155b156103a6576103a6858783610539565b5050505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03161480156103f45750804710155b15610507577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561045457600080fd5b505af1158015610468573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b038681166004830152602482018690527f000000000000000000000000000000000000000000000000000000000000000016935063a9059cbb925060440190506020604051808303816000875af11580156104dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105019190610a30565b50610533565b306001600160a01b0384160361052757610522848383610539565b610533565b6105338484848461056e565b50505050565b61054c8363a9059cbb60e01b84846105ea565b6105695760405163fb7f507960e01b815260040160405180910390fd5b505050565b60006323b872dd60e01b905060006040518281528560048201528460248201528360448201526020600060648360008b5af191505080156105cc573d80156105c257600160005114601f3d111691506105ca565b6000873b1191505b505b806100eb5760405163f405907160e01b815260040160405180910390fd5b60006040518481528360048201528260248201526020600060448360008a5af19150508015610636573d801561062c57600160005114601f3d11169150610634565b6000863b1191505b505b949350505050565b6001600160a01b038116811461065357600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561069557610695610656565b604052919050565b600067ffffffffffffffff8211156106b7576106b7610656565b50601f01601f191660200190565b6000806000606084860312156106da57600080fd5b83356106e58161063e565b925060208401356106f58161063e565b9150604084013567ffffffffffffffff81111561071157600080fd5b8401601f8101861361072257600080fd5b80356107356107308261069d565b61066c565b81815287602083850101111561074a57600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000806000806060858703121561078057600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156107a657600080fd5b818701915087601f8301126107ba57600080fd5b8135818111156107c957600080fd5b8860208285010111156107db57600080fd5b95989497505060200194505050565b60005b838110156108055781810151838201526020016107ed565b50506000910152565b6000806040838503121561082157600080fd5b825161082c8161063e565b602084015190925067ffffffffffffffff81111561084957600080fd5b8301601f8101851361085a57600080fd5b80516108686107308261069d565b81815286602083850101111561087d57600080fd5b61088e8260208301602086016107ea565b8093505050509250929050565b62ffffff8116811461065357600080fd5b6000806000606084860312156108c157600080fd5b83356108cc8161063e565b925060208401356108dc8161063e565b915060408401356108ec8161089b565b809150509250925092565b60008060006060848603121561090c57600080fd5b83516109178161063e565b60208501519093506109288161063e565b60408501519092506108ec8161089b565b60006020828403121561094b57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0382811682821603908082111561098857610988610952565b5092915050565b6001600160a01b0381811683821601908082111561098857610988610952565b600060018060a01b038088168352861515602084015285604084015280851660608401525060a0608083015282518060a08401526109f48160c08501602087016107ea565b601f01601f19169190910160c0019695505050505050565b60008060408385031215610a1f57600080fd5b505080516020909101519092909150565b600060208284031215610a4257600080fd5b81518015158114610a5257600080fd5b939250505056fea26469706673582212203bc2b4a04fabb1252f8165d63f93af096e95fe53a86d571ee30a4631c923e60164736f6c63430008110033000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c', r: '0x7649cb6f607725d26c0f9ca1edf9aba523ae332e8c802ea9637302f5c26af00f', s: '0x3ec6cead21ede9da5b7a6c5bd2625fdcaf7d491ca098fed56e56bb577d581106', v: 0, creates: '0x80c4B8090cb8007Fbb002eB36454D67A2FeDFd15', chainId: 56, wait: [Function (anonymous)] }, _deployedPromise: Promise { [Circular *1] } }
the logged message: creates: '0x80c4B8090cb8007Fbb002eB36454D67A2FeDFd15', is not a valid contract address, but a empty address.
deploy incorrect address log
The text was updated successfully, but these errors were encountered:
any feed back?
Sorry, something went wrong.
Hi! Thank you for creating the issue 🙏
Could you let us know what the bug you're reporting is and provide the minimal reproduction steps, using the latest hardhat version, for it?
The information you provided, unfortunately, doesn't allow us to successfully investigate the problems you're facing.
You might also want to try seeking assistance on one of our community forums if you need general assistance with contract development.
https://hardhat.org/hardhat-runner/docs/guides/getting-help
galargh
No branches or pull requests
Version of Hardhat
2.15.0
What happened?
i use the following script to deploy:
with the corresponding trace:
the logged message: creates: '0x80c4B8090cb8007Fbb002eB36454D67A2FeDFd15', is not a valid contract address, but a empty address.
Minimal reproduction steps
i use the following script to deploy:
Search terms
deploy incorrect address log
The text was updated successfully, but these errors were encountered: