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: reduce codesize #262

Closed
wants to merge 26 commits into from
Closed

feat: reduce codesize #262

wants to merge 26 commits into from

Conversation

Foivos
Copy link
Contributor

@Foivos Foivos commented Apr 15, 2024

move more code to token-handler

milapsheth and others added 21 commits December 17, 2023 19:00
* fix: add missing imports to factory interface

* update docs
* ci: use env var setter in gh actions (#241)

* fix: add missing imports to factory interface

* ci: use env var setter in gh actions

* ci: improve var reference in workflow (#242)

* test: action

* direct trigger

* rename

* improve var reference
* added new token managers that have the mint/burn permissions.

* added a few tests

* a few more tests

* removed mint/burn from legacy

* rename INTERCHAIN_TOKEN to INTERCHAIN_TOKEN_MINT_BURN

* remove unused import and prettier

* some more renaming

* rever

* added some docstrings

* prettier

* chore: restrict custom token manager deployments (#3)

* some styling

* fixed revert

* fixed some docs

* bump package version

* restrict remote token manager deployment

* rename MINT_BURN_FROM to CUSTOM_MINT_BURN_FROM

* prettier

* add comments to TokenManagerType

* rename token manager types

* update docs

* refactor(TokenManager): simplification (#4)

* refactor(TokenManager): simplification

* refactor(TokenManager): unused import

* update doc

---------

Co-authored-by: Milap Sheth <[email protected]>
Co-authored-by: re1ro <[email protected]>
@Foivos Foivos requested a review from a team as a code owner April 15, 2024 13:16
@codecov-commenter
Copy link

codecov-commenter commented Apr 15, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 97.23%. Comparing base (f3b9c67) to head (9d081a1).

Files Patch % Lines
contracts/TokenHandler.sol 75.00% 2 Missing and 2 partials ⚠️
contracts/InterchainTokenService.sol 50.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@                        Coverage Diff                        @@
##           feat/merge-new-token-managers     #262      +/-   ##
=================================================================
- Coverage                          97.56%   97.23%   -0.33%     
=================================================================
  Files                                 18       18              
  Lines                                574      578       +4     
  Branches                             115      117       +2     
=================================================================
+ Hits                                 560      562       +2     
  Misses                                 5        5              
- Partials                               9       11       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@re1ro
Copy link
Contributor

re1ro commented Apr 15, 2024

@Foivos this would also require deploy/upgrade scripts updates right?

Base automatically changed from feat/merge-new-token-managers to main April 15, 2024 19:30
@milapsheth milapsheth closed this Jul 29, 2024
@milapsheth milapsheth deleted the feat/reduce-codesize branch July 29, 2024 08:17
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.

4 participants