Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust TBTC Transfer Amount to Include Fee and Update Sepolia Deploym…
…ent (#827) **Summary:** This Pull Request includes the following updates: **- Adjust TBTC Transfer Amount to Include Fee for L2 Deposit Owner** The Threshold DAO has decided to set depositTxMaxFee to zero. Instead of changing the deposit parameters, we have adjusted the amount of TBTC transferred to the L2 deposit owner by adding back the fee amount. This change is implemented in the contracts inheriting from AbstractTBTCDepositor, without modifying the abstract contract itself. Specifically, depositTxMaxFee is added to the tbtcAmount value returned by _finalizeDeposit. **- Update BaseL1BitcoinDepositor Deployment on Sepolia Network** Deployed the updated BaseL1BitcoinDepositor contract to the Sepolia testnet. This deployment includes the changes where the TBTC transfer amount now accounts for the fee. Ensured compatibility with existing contracts implementing AbstractTBTCDepositor. **Rationale**: Align the TBTC transfer mechanism with the Threshold DAO's decision to set the deposit transaction maximum fee to zero, enhancing consistency across the contract implementations. **Implementation**: Made minimal changes by adjusting only the inheriting contracts and leaving the abstract contract unchanged, promoting code reusability and maintainability.
- Loading branch information