Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
chore(gov): Convert uint8[] to bytes for Message value bz (#1211)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- Refactor: Updated the `CosmosCodecAny` and `CosmosCoin` structs,
replacing `[]uint8` with `[]byte` for the `Value` field to align with
functional usage in Cosmos SDK.
- Refactor: Updated the ABI definition for the `GovernanceModule`
contract, replacing `uint8[]` with `bytes` in the `getProposal` and
`getProposals` functions.
- Refactor: Updated the `decodeProposalMessages` function to handle
different types using reflection.
- Chore: Updated the code generation tool version from v2.35.2 to
v2.35.3 across multiple files.
- Chore: Added build constraints for the `rlpgen` tool in
`transaction.rlpgen.go`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
calbera committed Oct 10, 2023
1 parent 96e1b88 commit 63876cd
Show file tree
Hide file tree
Showing 28 changed files with 74 additions and 72 deletions.
18 changes: 9 additions & 9 deletions contracts/bindings/cosmos/lib/cosmos_types.abigen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/bindings/testing/consume_gas.abigen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 63876cd

Please sign in to comment.