Releases: axieinfinity/foundry-deployment-kit
Releases · axieinfinity/foundry-deployment-kit
testnet-release/v0.1.1
Description
This release introduces the very first version of smart contract collection that enhances the functionality and usability of scripting migration or upgrades for easy setup and testing.
Breaking Changes
- Fixes Wrong Onchain Tracing Issue: Turn on Gas Metering by default to solve invalid on-chain simulation issue.
- Typed Contract Definition: Added support for typed
Contract
definition within the parent repository. - Typed Network Definition: Added support for typed
Network
definition within the parent repository. - Flexible Artifact Naming: Enables different contract artifacts to share the same underlying contract logic.
- Trezor Wallet Support: Added support for Trezor Wallet integration.
- External Parameter Provision: Supports providing external parameters for enhanced flexibility.
- Clearer tracing log: Label deployed addresses for easy debug.
- Logging Improvement: Remove duplicate logging in
BaseMigration:_upgradeProxy(TContract, bytes memory)
. - Signing Functionality: Expose
IWalletConfig:getSenderPk()
for signing functionality. - Library Refactoring: Move reusable libraries into
contract-libs
(LibErrorHandler
,LibNativeTransfer
). - Library Improvement: Allow skiping null check in
LibProxy
. - Debugging Enhancement: Cheat to load
OnchainDebugger
into parent directory for debugging. - Scripting Improvement: Add
BaseMigration:_postCheck
for future use.
Migration Writing Usage:
For a comprehensive guide on writing migrations, refer to the foundry-deployment-kit example.
Script Running Usage:
Execute the migration script using the following shell command:
./run.sh <PATH_TO_SCRIPT> -f <network>
What's Changed
- chore(
migration-script
): merge fromrelease/v0.1.0
by @github-actions in #3 - feat: refactor migration scripts by @TuDo1403 in #2
- feat: refactor migration scripts by @TuDo1403 in #4
- chore(
migration-script
): merge fromrelease/v0.1.0
by @github-actions in #5 - feat(migration-script): implement
refactor-migration-script
by @github-actions in #6 - feat: add setUpDefaultNetworks and setUpDefaultContracts by @TuDo1403 in #7
Full Changelog: https://github.com/axieinfinity/foundry-deployment-kit/commits/testnet-release/v0.1.0
What's Changed
- chore(
migration-script
): merge fromrelease/v0.1.0
by @github-actions in #3 - feat: refactor migration scripts by @TuDo1403 in #2
- feat: refactor migration scripts by @TuDo1403 in #4
- chore(
migration-script
): merge fromrelease/v0.1.0
by @github-actions in #5 - feat(migration-script): implement
refactor-migration-script
by @github-actions in #6 - feat: add setUpDefaultNetworks and setUpDefaultContracts by @TuDo1403 in #7
- chore: merge from branch 'release/v0.1.0' by @TuDo1403 in #9
- chore(
migration-script
): merge fromrelease/v0.1.0
by @github-actions in #8 - feat(migration-script): implement
refactor-migration-script
by @github-actions in #10 - feat(migration-script): implement
refactor-migration-script
by @github-actions in #11 - chore: merge latest feature into 'release/v0.1.0' by @TuDo1403 in #12
- chore: merge from branch 'release/v0.1.0' by @TuDo1403 in #14
New Contributors
Full Changelog: https://github.com/axieinfinity/foundry-deployment-kit/commits/testnet-release/v0.1.1