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

add timelock queries #71

Merged
merged 7 commits into from
Aug 2, 2019
Merged

add timelock queries #71

merged 7 commits into from
Aug 2, 2019

Conversation

chainwhisper
Copy link
Contributor

No description provided.

common/types/timelock.go Outdated Show resolved Hide resolved
client/rpc/dex_client.go Outdated Show resolved Hide resolved
e2e/e2e_rpc_test.go Outdated Show resolved Hide resolved
common/types/timelock.go Outdated Show resolved Hide resolved
@@ -5,12 +5,17 @@ import (
"fmt"
"github.com/binance-chain/go-sdk/common/types"
"github.com/binance-chain/go-sdk/types/tx"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this empty line

client/rpc/dex_client.go Outdated Show resolved Hide resolved
client/rpc/dex_client.go Outdated Show resolved Hide resolved
client/rpc/dex_client.go Outdated Show resolved Hide resolved
common/types/timelock.go Outdated Show resolved Hide resolved
@unclezoro
Copy link
Contributor

unclezoro commented Aug 2, 2019

Can you add these two new method into the interface type DexClient interface

@@ -11,6 +11,9 @@ const (
AccountStoreName = "acc"
TokenStoreName = "tokens"
ParamABCIPrefix = "param"
TimeLockMsgRoute = "timelock"
QueryTimeLocks = "timelocks"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To keep the code style consistent, QueryTimeLocks and QueryTimeLock please just use it, don't define the constant.

client/rpc/dex_client.go Outdated Show resolved Hide resolved
client/rpc/dex_client.go Outdated Show resolved Hide resolved
unclezoro
unclezoro previously approved these changes Aug 2, 2019
@chainwhisper chainwhisper merged commit eb7b0b0 into master Aug 2, 2019
@unclezoro unclezoro deleted the add-timlock branch April 20, 2020 14:32
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