Skip to content

BREAKING_CHANGE: adapt soldeer, enhance script runtime, extra features#145

Merged
TuDo1403 merged 115 commits intorelease/v0.3.0from
feature/rework
Aug 4, 2025
Merged

BREAKING_CHANGE: adapt soldeer, enhance script runtime, extra features#145
TuDo1403 merged 115 commits intorelease/v0.3.0from
feature/rework

Conversation

@TuDo1403
Copy link

@TuDo1403 TuDo1403 commented Jun 16, 2024

Description

BREAKING CHANGES:

  • Adapt new package manager soldeer,
  • Enhance script runtime by execute setup phases in local and switch to fork network later.

Extra features:

  • Log execution time.
  • Add support for precheck. Requested by @huyhuynh3103
  • Support verify deployed contracts after running script.
  • Faster import deployed contracts in deployments folder.

Bug fixes:

General Config

  • Add UserDefinedConfig for more customizable global storage. Requested by @nxqbao

Network Config

  • Add roll function to roll block and warp time simultaneously.
  • Add warp function to warp block and roll block simultaneously.
  • Add rollUpTo function to roll and warp up to targeted block number.
  • Add warpUpTo function to warp and roll up to targeted timestamp.

Contract Config

  • Use TNetwork as primary key => allow different network to share same chain id to support shadow-fork use-case. @nxqbao

LibDeploy

  • Support more use-cases for deploying contract and allow more customization.

LibInitializationGuard

  • Check for contract upgrades with correct initialization calls.

Checklist

  • I have clearly commented on all the main functions following the NatSpec Format
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works

TuDo1403 added 30 commits May 16, 2024 11:16
…mp-package

feat(rework): implement `bump-package`
…er-defined-config

feat(rework): implement `user-defined-config`
tringuyenskymavis and others added 28 commits August 27, 2024 17:14
…d-initialize-guard

feat(rework): implement `add-initialize-guard`
…d-default-contracts

feat(rework): implement `add-default-contracts`
…d-profile

feat(rework): implement `add-profile`
…store-transparent-proxy-v4_9_5

feat(rework): implement `restore-transparent-proxy-v4_9_5`
…adapt new forge version when generating storage layout
Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
…nitializer

fix: add --json when inspecting methodIdentifiers
Copy link
Contributor

@huyhuynh3103 huyhuynh3103 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TuDo1403 TuDo1403 merged commit 3ed3e37 into release/v0.3.0 Aug 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants