Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

refactor: caster initializes with caster config #70

Merged
merged 27 commits into from
Dec 15, 2023
Merged

Conversation

dd0sxx
Copy link
Contributor

@dd0sxx dd0sxx commented Dec 15, 2023

Motivation:

closes #68

Modifications:

  • created CasterConfig struct
  • Pass in the config at initialization time for the caster contracts

Result:

periods can be set at deploy time

Base automatically changed from austin/adapter to main December 15, 2023 20:47
Copy link

Coverage after merging theo/casterconfig into main will be

90.73%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/token-voting
   LlamaTokenActionCreator.sol96%83.33%100%100%131–132, 271
   LlamaTokenCaster.sol85.59%85.14%84%86.13%213–214, 409, 414, 414, 414–416, 416, 416–420, 422, 440, 449, 449, 449–451, 451, 451–455, 457, 546–547
   LlamaTokenVotingFactory.sol85%50%100%100%94–96
src/token-voting/token-adapters
   LlamaTokenAdapterVotesTimestamp.sol95.65%50%100%100%71

@dd0sxx dd0sxx merged commit 49ba0dd into main Dec 15, 2023
5 checks passed
@dd0sxx dd0sxx deleted the theo/casterconfig branch December 15, 2023 20:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass in PeriodPcts at deploy time.
3 participants