-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: trait for dealing with rkyv PDAs Signed-off-by: Guilherme Felipe da Silva <[email protected]> * feat: flow limits Add functionality to handle flow limits on interchain transfers. As the feature was developed, adjustments had to be made to other parts of ITS, specially code related to role-management. Signed-off-by: Guilherme Felipe da Silva <[email protected]> * chore: remove outdated role-management tests The role-management crate doesn't process the instructions anymore as handling who has rights to deal with management is dependent on the use case and is done outside of the crate. Thus, these test cases are outdated. Signed-off-by: Guilherme Felipe da Silva <[email protected]> * refactor(flow_limit): extract and reuse General improvements for code reuse. Signed-off-by: Guilherme Felipe da Silva <[email protected]> * fix: make linter happy Signed-off-by: Guilherme Felipe da Silva <[email protected]> * fix(flow_limits): wrong check logic We want to make sure only FLOW_LIMITER role is changed and thus we need to make sure that's the role passed in the instruction by returning an error in case it's not. Signed-off-by: Guilherme Felipe da Silva <[email protected]> * fix: remove dbg statement This was for troubleshooting purpose and serves no use anymore. Signed-off-by: Guilherme Felipe da Silva <[email protected]> * chore: add comment to flow_limits test cases Signed-off-by: Guilherme Felipe da Silva <[email protected]> * chore(flow-limits): add error message This helps troubleshooting in case of errors. Signed-off-by: Guilherme Felipe da Silva <[email protected]> --------- Signed-off-by: Guilherme Felipe da Silva <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,986 additions
and
664 deletions.
There are no files selected for viewing
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 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 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.