-
Notifications
You must be signed in to change notification settings - Fork 98
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(tendermint): staking/delegation #2322
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
081df90
to
4012550
Compare
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
Signed-off-by: onur-ozkan <[email protected]>
8145b90
to
16dad85
Compare
Signed-off-by: onur-ozkan <[email protected]>
f67185a
to
1dd2b73
Compare
Signed-off-by: onur-ozkan <[email protected]>
4340e37
to
0f08e05
Compare
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.
Thank you! code is very clean, I have small notes
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.
Thanks for the clean and easy to review PR! Only one non-blocker.
Signed-off-by: onur-ozkan <[email protected]>
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.
LGTM!
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.
Great work...one not directly related note
&account_info, | ||
fee, | ||
timeout_height, | ||
memo.clone(), |
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.
&self, | ||
withdraw_from: Option<WithdrawFrom>, | ||
) -> Result<(AccountId, Option<H256>), WithdrawError> { | ||
) -> Result<(AccountId, Option<H256>), String> { |
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.
Are we not generally striving to avoid String errors (in favour of always typed errors)?
Adds tendermint protocol support on
add_delegation
RPC, and extends tendermint transaction history implementation to support delegation transactions.Next is to do the same for undelegation on
remove_delegation
.TODO: File a documentation issue on https://github.com/KomodoPlatform/komodo-docs-mdx