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

refactor(interchain-token-service): change trusted address to trusted chain #110

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

AttissNgo
Copy link
Contributor

@AttissNgo AttissNgo commented Dec 10, 2024

- store trusted chains rather than trusted addresses
- ITS Hub address added to constructor
@AttissNgo AttissNgo requested a review from a team as a code owner December 10, 2024 22:26
@codecov-commenter
Copy link

codecov-commenter commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.13%. Comparing base (2daa7ff) to head (ca685c0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
+ Coverage   94.07%   94.13%   +0.05%     
==========================================
  Files          48       48              
  Lines        2752     2744       -8     
==========================================
- Hits         2589     2583       -6     
+ Misses        163      161       -2     

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

@milapsheth milapsheth changed the title refactor(its): change trusted address to trusted chain refactor(interchain-token-service): change trusted address to trusted chain Dec 10, 2024
- fix test assert statements in trusted_address.rs
contracts/interchain-token-service/src/storage_types.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
- change trusted_address to is_trusted_address
- minor fixes
- merge branch 'main' into refactor/its-trusted-chain
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/src/contract.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/tests/trusted_chain.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/tests/trusted_chain.rs Outdated Show resolved Hide resolved
contracts/interchain-token-service/tests/trusted_chain.rs Outdated Show resolved Hide resolved
- move code from get_call_params into pay_gas_and_call_contract
- use assert_invoke_auth_ok! in trusted_chain tests instead of mocking env auth
@AttissNgo AttissNgo merged commit 8798898 into main Dec 11, 2024
5 checks passed
@AttissNgo AttissNgo deleted the refactor/its-trusted-chain branch December 11, 2024 13:55
@ahramy ahramy mentioned this pull request Jan 21, 2025
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