Skip to content
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

feat: post-deploy v2 prep #96

Merged
merged 1 commit into from
Jan 21, 2025
Merged

feat: post-deploy v2 prep #96

merged 1 commit into from
Jan 21, 2025

Conversation

deluca-mike
Copy link
Collaborator

  • solc 0.8.26
  • latest common
  • latest forge-std
  • registrar as constructor arg
  • excess destination as constructor arg
  • constants made public
  • token name changed
  • batch start and stop earning
  • IsApprovedEarner and NotApprovedEarner errors have account as parameter
  • Indexing Math no longer needed?
  • Basic Migrator contract introduced
  • version bump
  • use more from common
  • zero account checks

@deluca-mike deluca-mike added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 13, 2025
@deluca-mike deluca-mike self-assigned this Jan 13, 2025
Copy link

github-actions bot commented Jan 13, 2025

LCOV of commit af7448e during Forge Coverage #517

Summary coverage rate:
  lines......: 100.0% (222 of 222 lines)
  functions..: 100.0% (52 of 52 functions)
  branches...: 91.7% (22 of 24 branches)

Files changed coverage rate:
                       |Lines       |Functions  |Branches    
  Filename             |Rate     Num|Rate    Num|Rate     Num
  ===========================================================
  src/MigratorV1.sol   |40.0%      5| 0.0%     2|    -      0
  src/WrappedMToken.sol|23.0%    217|48.0%    50|    -      0

script/DeployBase.sol Outdated Show resolved Hide resolved
script/DeployBase.sol Outdated Show resolved Hide resolved
script/DeployBase.sol Outdated Show resolved Hide resolved
src/WrappedMToken.sol Outdated Show resolved Hide resolved
src/WrappedMToken.sol Outdated Show resolved Hide resolved
src/interfaces/IWrappedMToken.sol Outdated Show resolved Hide resolved
src/interfaces/IWrappedMToken.sol Outdated Show resolved Hide resolved
src/WrappedMToken.sol Outdated Show resolved Hide resolved
src/WrappedMToken.sol Outdated Show resolved Hide resolved
@toninorair toninorair self-requested a review January 16, 2025 15:47
@deluca-mike deluca-mike force-pushed the feat/v2-prep branch 3 times, most recently from 9946c9f to ce4261b Compare January 17, 2025 18:28
@deluca-mike deluca-mike force-pushed the feat/v2-prep branch 3 times, most recently from d25d55a to 448d79c Compare January 17, 2025 19:44
.env.deploy.example Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Base automatically changed from feat/git-fixes to main January 21, 2025 18:37
- solc 0.8.26
- latest common
- latest forge-std
- registrar as constructor arg
- excess destination as constructor arg
- constants made public
- token name changed
- `IsApprovedEarner` and `NotApprovedEarner` errors have account as parameter
- basic Migrator contract introduced
- version bump
- use more from common
- more test coverage
- fixed scripts to allow for generic deploy and mainnet upgrade
@deluca-mike deluca-mike changed the base branch from main to v2 January 21, 2025 18:59
@deluca-mike deluca-mike merged commit 2db6f81 into v2 Jan 21, 2025
4 checks passed
@deluca-mike deluca-mike deleted the feat/v2-prep branch January 21, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants