-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
R4R: Implement Tx Decode in REST/CLI Clients #4213
R4R: Implement Tx Decode in REST/CLI Clients #4213
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4213 +/- ##
==========================================
- Coverage 60.16% 60.13% -0.03%
==========================================
Files 212 212
Lines 15188 15192 +4
==========================================
- Hits 9138 9136 -2
- Misses 5421 5427 +6
Partials 629 629 |
Codecov Report
@@ Coverage Diff @@
## master #4213 +/- ##
==========================================
+ Coverage 54.15% 54.78% +0.62%
==========================================
Files 272 269 -3
Lines 17349 16911 -438
==========================================
- Hits 9395 9264 -131
+ Misses 7271 6965 -306
+ Partials 683 682 -1 |
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.
ACK
Do you mind review this PR ? @jackzampolin @alessio |
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.
looks good
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.
Hold off please - this is blocked by the gaia split migration
@yangyanqing if you could bring this PR back up to the latest we will merge it! |
I have no idea about the ➜ cosmos-sdk git:(frank/3872-gaiacli-tx-decode-master) ✗ make build
import cycle not allowed
package github.com/cosmos/cosmos-sdk/simapp
imports github.com/cosmos/cosmos-sdk/x/auth
imports github.com/cosmos/cosmos-sdk/x/auth/client/rest
imports github.com/cosmos/cosmos-sdk/x/auth
can't load package: import cycle not allowed
package github.com/cosmos/cosmos-sdk/simapp
imports github.com/cosmos/cosmos-sdk/x/auth
imports github.com/cosmos/cosmos-sdk/x/auth/client/rest
imports github.com/cosmos/cosmos-sdk/x/auth
Makefile:28: recipe for target 'build' failed
make: *** [build] Error 1 |
Can this PR be merged ? @jackzampolin |
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.
Looks good @yangyanqing. Left some further feedback. Also statik.go
needs to be regenerated.
|
@yangyanqing not true, it's very easy: $ rm -fr client/lcd/statik/statik.go; make update-swagger-docs Simply take preference over the new |
Yes, I had repeated the steps three times. |
@yangyanqing so long as your PR has the latest |
Co-Authored-By: yangyanqing <f.yang@hashgard.com>
Co-Authored-By: yangyanqing <f.yang@hashgard.com>
➜ cosmos-sdk git:(frank/3872-gaiacli-tx-decode-master) ✗ make build import cycle not allowed package github.com/cosmos/cosmos-sdk/simapp imports github.com/cosmos/cosmos-sdk/x/auth imports github.com/cosmos/cosmos-sdk/x/auth/client/rest imports github.com/cosmos/cosmos-sdk/x/auth can't load package: import cycle not allowed package github.com/cosmos/cosmos-sdk/simapp imports github.com/cosmos/cosmos-sdk/x/auth imports github.com/cosmos/cosmos-sdk/x/auth/client/rest imports github.com/cosmos/cosmos-sdk/x/auth Makefile:28: recipe for target 'build' failed make: *** [build] Error 1
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
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.
1 comment and pending CI fix
|
||
// GetDecodeCommand returns the decode command to take Amino-serialized bytes and turn it into | ||
// a JSONified transaction | ||
func GetDecodeCommand(codec *amino.Codec) *cobra.Command { |
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.
this should live in auth/client/CLI
closing this PR as it hasn't been updated in a while. I'll reopen a new PR with these changes later today |
close: #3872
replace: #4026
docs/
)sdkch add [section] [stanza] [message]
Files changed
in the github PR explorerFor Admin Use: