-
Notifications
You must be signed in to change notification settings - Fork 986
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
DI - IBC #3509
Merged
Merged
DI - IBC #3509
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d070074
add namada_systems crate with systems' abstract interfaces
tzemanovic 7992a2e
update systems crates to use namada_systems
tzemanovic 98aa9df
systems: use the concrete storage error and result type
tzemanovic c64c7aa
changelog: add #3472
tzemanovic d6040cd
shielded_token: replace parameters dep with DI
tzemanovic 0db2cd8
shielded_token: replace trans_token dep with DI
tzemanovic 7b10412
system/test: add a test for no cross-system deps
tzemanovic 0fc23dd
changelog: add #3466
tzemanovic 07a83ec
governance: replace deps on other systems with DI
tzemanovic 1fbb9fd
changelog: add #3482
tzemanovic 1f256f1
proof_of_stake: refactor out pos_queries mod
tzemanovic 3d21076
proof_of_stake: replace governance dep with DI
tzemanovic 32d8fbe
proof_of_stake: replace parameters dep with DI
tzemanovic 4f5989d
proof_of_stake: replace trans_token dep with DI
tzemanovic 8a4512b
test/systems: check PoS cross-system deps and allow if optional
tzemanovic a2c6d0f
PoS: replace optional cross-system deps too
tzemanovic aa570a1
changelog: add #3497
tzemanovic 683eb85
ibc: replace parameters dep with DI
tzemanovic 98cbeb8
ibc: replace gov dep with DI
tzemanovic 46c8fae
ibc: replace token dep with DI
tzemanovic 3fa3eb2
test/systems: check IBC cross-system deps
tzemanovic f67da93
changelog: add #3509
tzemanovic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Replaced cross-system dependencies in namada_shielded_token crate with | ||
dependency-injection. ([\#3466](https://github.com/anoma/namada/pull/3466)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- Added a new namada_systems crate to contain abstract systems interfaces, | ||
previously added to core crate. Also switched to use the concrete | ||
storage error and result type instead of the generic associated | ||
type which reduces the amount of typing needed one the caller side. | ||
([\#3472](https://github.com/anoma/namada/pull/3472)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Replaced cross-system dependencies in namada_governance crate with dependency- | ||
injection. ([\#3482](https://github.com/anoma/namada/pull/3482)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Replaced cross-system dependencies in namada_proof_of_stake crate with | ||
dependency-injection. ([\#3497](https://github.com/anoma/namada/pull/3497)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Replaced cross-system dependencies in namada_ibc crate with dependency- | ||
injection. ([\#3509](https://github.com/anoma/namada/pull/3509)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved this here from gov (
crates/governance/src/storage/proposal.rs
) as it's being used from ibc actions - it's mostly just for passing could fields with borsh encodingThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense