Skip to content

Commit

Permalink
changelog + rabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianToledano committed Jan 23, 2025
1 parent 10d3f21 commit 50b4550
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ Ref: https://keepachangelog.com/en/1.0.0/
* [180](https://github.com/cosmos/rosetta/pull/180) Update to cosmos-sdk v0.52.0-rc.1.
* [180](https://github.com/cosmos/rosetta/pull/180) Added bech32 prefix flag.

### Bug Fixes

* [#190](https://github.com/cosmos/rosetta/pull/190) Fixed construction payloads to properly handle transaction signers.

## [v0.50.11](https://github.com/cosmos/rosetta/releases/tag/v0.50.11) 2024-12-19

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion tests/systemtests/construction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestPayloads(t *testing.T) {

op := operation{
msgType: "/cosmos.bank.v1beta1.MsgSend",
metadata: fmt.Sprintf(`{"from_address": "%s", "to_address": "%s", "amount":[{"amount":"123", "denom":"stake"}]}`, addr, "cosmos1qcym25uch54xmja4eys35zcyr8npwlm80glwuk"),
metadata: fmt.Sprintf(`{"from_address": "%s", "to_address": "%s", "amount":[{"amount":"123", "denom":"stake"}]}`, addr, cli.AddKey("to_address")),
}
res, err := rosettaRest.constructionPayloads(`"signer_data":[{"account_number":1, "sequence": 0}]`, hexPk, op)
assert.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion tests/systemtests/rest_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (o *operation) String() string {
func payloadsOperations(ops ...operation) []string {
r := make([]string, len(ops))
for i, op := range ops {
r = append(r, fmt.Sprintf(`{"operation_identifier":{"index": %d}, %s}`, i, op.String()))
r[i] = fmt.Sprintf(`{"operation_identifier":{"index": %d}, %s}`, i, op.String())
}

return r
Expand Down

0 comments on commit 50b4550

Please sign in to comment.