-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
Update Sepolia contracts deployments artifacts #349
Conversation
We redeployed the latest version of contracts to sepolia.
We don't need to duplicate the contracts artifacts by copying them to SDK module, we can import them from the contracts module.
We don't need to import the types for contracts initialization as we can simplify them by removing the deployedAtBlockNumber property which is not used in our SDK code.
✅ Deploy Preview for acre-dapp-testnet canceled.
|
We want to avoid ignoring the prefer-dfefault-export rule, so we define a dedicated file to DepositState.
* from the contract deployment artifact. It can be overwritten by setting a | ||
* {@link EthersContractConfig.deployedAtBlockNumber} property. | ||
*/ | ||
protected readonly deployedAtBlockNumber: number |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we remove it? This is useful for fetching events.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The artifacts the deployment script produces with the upgradable deployments plugin don't contain the block number as per keep-network/hardhat-helpers@232b917.
Since we're not fetching the events in the dApp currently, I thought that for simplicity we could remove the deployedAtBlockNumber
property, and resolve it later if we really need it.
Co-authored-by: Rafał Czajkowski <[email protected]>
We redeployed the latest contracts version to Sepolia. Here we update the artifacts.