Jacob Gadikian
be8c5a09c2
chore: lint tests ( #14268 )
2022-12-18 23:48:31 +00:00
Julien Robert
99b5919194
refactor: types audit ( #14283 )
2022-12-13 15:41:57 +01:00
Amaury
fb4d964f7e
refactor: don't break SignModeHandler API ( #14087 )
...
* refactor: Make SignModeHandler update not API breaking
* changelog
* fix tests
* add comment
* Revert rosetta
* address reviews
* shorter name
* Fix test build
2022-12-01 16:20:10 +01:00
Paul Weidner
b9e0a40770
chore: correct language for fee granter error ( #14111 )
...
## Description
Closes: #XXXX
Right now this error message contains the word "not" twice. I don't think we want the double negative here ;-)
Example:
```
regen1sk9nwk0w7kct04tsdscqvg5knn6kzz7yq59arx does not not allow to pay fees for regen1n9dpmra4d2gvu22jmxv7tenjy0mdymfg70hd48: basic allowance: fee limit exceeded
```
---
### Author Checklist
*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*
I have...
- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json ) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting ))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules )
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing )
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc )
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed
### Reviewers Checklist
*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*
I have...
- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json ) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2022-12-01 08:12:27 +00:00
Julien Robert
6239cdfddb
chore: clean-up deprecated function usage ( #14078 )
2022-11-30 01:10:50 +01:00
Amaury
fffc9d07d5
refactor!: Add context arg to sign mode handler GetSignBytes ( #13701 )
...
* refactor!: Add context arg to sign mode handler `GetSignBytes`
* fix build
* fix tests
* Fix goling
* fix lint
* Fix lint
* Fix test
* Update CHANGELOG.md
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
* Fix tests
* Fix rosetta deps
* fix
* go mod tidy all
* go mod tidy
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-11-29 18:49:51 +00:00
Julien Robert
cfd79fc39e
feat: add Genesis JSON migration for group ( #14024 )
2022-11-29 14:00:14 +00:00
Julien Robert
41f0ab15e6
refactor: remove gogoproto stringer annotations and MarshalYAML functions ( #13850 )
2022-11-28 12:56:00 +00:00
Julien Robert
e5038d8d76
chore: bumps math and api deps ( #14035 )
...
* chore: bumps math and api deps
* updates
2022-11-27 23:11:25 +01:00
Julien Robert
6f329d70c6
docs: add docs about x/auth/tx ( #14021 )
...
* docs: add docs about `x/auth/tx`
* updates
* updates
* updates
* updates
* updates
* updates
* updates
Co-authored-by: Marko <marbar3778@yahoo.com>
2022-11-27 20:30:23 +00:00
Likhita Polavarapu
e260fc1c89
feat: Add tx encode and decode endpoints for amino txs ( #13882 )
...
* add proto changes
* make proto-gen
* wip: adds tests
* wip: tests
* remove consoles
* wip: fix something
* fix: encode amino tests
* add decode amino tests
* wip: address requested changes
* update proto inline docs
* address review comments
Co-authored-by: Amaury M <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2022-11-24 13:41:03 +00:00
Julien Robert
d6da7037b6
fix(group): migrate group policy account to base accounts with credentials ( #13742 )
2022-11-21 22:46:48 +00:00
atheeshp
42597ee593
chore: added new field account-id with uint64 in AccountAddressByID ( #13780 )
...
* add changes
* Update CHANGELOG.md
* Update CHANGELOG.md
* review changes
* add test
* fix static check
* fix lint
* fix lint
* fix lint
* review changes
* review changes
* review changes
* review changes
* fix tests
* Update CHANGELOG.md
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
* Update proto/cosmos/auth/v1beta1/query.proto
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
* review changes
* lint
* review changes
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2022-11-21 11:50:10 +00:00
Julien Robert
eb4afa74ba
ci: configure sonarcloud ( #13921 )
2022-11-18 15:14:49 +00:00
Facundo Medica
394f1b9478
fix: InitGenesis changes account numbers (upstream fix from Provenance) ( #13877 )
...
* fix: InitGenesis changes account numbers (upstream fix from Provenance)
* cl++
* rename GetNextAccountNumber to NextAccountNumber
* suggestion from @julienrbrt
* cl++
* fix readme
* missing replace
2022-11-16 14:13:20 -03:00
Likhita Polavarapu
bcff22a376
feat: Add tx encode and decode endpoints ( #13789 )
...
* add grpc endpoint for encoding proto tx's
2022-11-15 04:55:27 +00:00
Aaron Craelius
ec27c5384b
refactor!: migrate to core appmodule.AppModule extension interfaces ( #13794 )
2022-11-14 21:23:55 +00:00
Aleksandr Bezobchuk
14c582f30e
fix: Allow underscores in EventRegex ( #13861 )
2022-11-14 18:49:59 +00:00
Julien Robert
d9bc5acac8
fix: .String() panics when pubkey is set on a BaseAccount ( #13838 )
2022-11-14 14:56:18 +00:00
Matt Kocubinski
61effe8260
feat: ABCI 1.0 baseapp integration ( #13453 )
2022-11-09 09:50:27 -06:00
Aaron Craelius
bcdf81cbaf
feat: add basic autocli config to every module ( #13786 )
...
* feat: add autocli configs to every module
* auto-discover config
* tests + gov, auth config tweaks
* docs
* Update x/auth/autocli.go
Co-authored-by: Julien Robert <julien@rbrt.fr>
* Update x/auth/autocli.go
Co-authored-by: Julien Robert <julien@rbrt.fr>
* cleanup
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-11-09 11:44:42 +00:00
Julien Robert
4f7d9ea233
refactor: clean-up test helpers and tmcli ( #13805 )
2022-11-09 11:13:27 +00:00
Amaury
b49f948b36
feat: Add proto annotations for Amino JSON ( #13501 )
...
* add legacy_amino_name
* make-proto-gen
* remove useless omitempty
* add annotations
* Add proto annotations
* Add more annotations
* update cosmos-proto
* Add message scalar?
* Add comments
* Fix comment
* lint proto files
* proto-gen
* go mod tidy
* Add multisig encoding
* Add field name
* Format proto
* proto-gen
* Update proto/cosmos/msg/v1/msg.proto
Co-authored-by: Aaron Craelius <aaron@regen.network>
* Add dont_omitempty whenever we have nullable=false
* proto-gen
* Remove problematic annotations
* put legacy_amino in subpackage
* proto-gen
* Fixes
* legacy_amino.v1
* add non-working proto
* Generate in separate package
* Remove `cosmos.msg` prefix
* make proto-gen
* remove v1 too
* make proto-format
* Add field option
* format
* proto-gen
* Use underscores
* update legacy_amino -> amino
* update to `key_field`
* make proto-format
* make proto-gen
Co-authored-by: Aaron Craelius <aaron@regen.network>
2022-11-07 22:51:51 +00:00
Julien Robert
c85447cdb9
docs: add documentation about depinject and app wiring ( #13683 )
2022-11-07 19:19:07 +00:00
Julien Robert
7efeb826e0
refactor: rename migrations from v42, v43, v{SDK} to v1, v2, v{Consensus} ( #13772 )
...
* chore: rename migrations from v42, v43 to v1, v2
* group migration should be in #13742
* updates
2022-11-07 11:32:56 +01:00
Julien Robert
08be7ee74b
refactor: extract MockTendermintRPC to testutil/cli
2022-11-03 22:40:52 +00:00
atheeshp
0eea227d20
chore: add deterministic tests for ModuleAccountByName ( #13715 )
2022-11-02 10:06:54 +00:00
Aaron Craelius
b9e65b6d41
feat: add autocli app wiring + remote info support ( #13281 )
2022-11-01 21:34:59 +00:00
Julien Robert
0d8787c3bd
feat: handle additional x/auth module app config parameters ( #13684 )
2022-11-01 06:39:21 +00:00
Rootul P
971c542453
fix: typo ( #13705 )
2022-10-31 16:31:22 +01:00
Julien Robert
dd78ce9ca4
docs: add auth tx commands documentation ( #13682 )
2022-10-28 13:01:34 +00:00
Matt Kocubinski
2418c3ef2e
feat: nonce (sequence number) based mempool ( #13645 )
...
simple default mempool implementation
Co-authored-by: Jeancarlo <jeancarlobarrios@gmail.com>
2022-10-26 09:04:34 -05:00
atheeshp
3c238ebc1d
chore: remove module_query_safe for few auth queries ( #13642 )
2022-10-25 12:49:44 +02:00
atheeshp
9f3575a10f
refactor: deterministic tests and add gas tests ( #13539 )
...
* refactor: x/auth deterministic tests
* changes
* x/bank refactor
* changes
* review changes
* refactor `x/staking`
* fix tests
* fix tests
* fix tests
* review changes
* Update testutil/testdata/grpc_query.go
* Update testutil/testdata/grpc_query.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-10-25 06:36:47 +00:00
Julien Robert
209797f3be
chore: make format, make proto-update-deps, add 0.45.10 in changelog ( #13623 )
2022-10-24 15:23:12 +02:00
Sai Kumar
ddf5cf0d8d
feat(cli): add module-account cli cmd and grpc get api ( #13612 )
2022-10-22 18:23:24 +00:00
Likhita Polavarapu
59f3c3c3da
refactor(auth): CLI tests using Tendermint Mock ( #13567 )
2022-10-18 09:13:21 +02:00
Julien Robert
3c9b244f62
refactor: automate EventTypeMessage inclusion in every message execution ( #13532 )
2022-10-16 19:00:34 -04:00
Tyler
81d033e701
perf(x/auth): only check memo when memo is present ( #13528 )
2022-10-13 19:49:11 +00:00
Amaury
56709d4e1d
fix!: Fix some Amino registrations ( #13502 )
...
* fix!: Fix some Amino registrations
* add cl
* revert proto changes
2022-10-11 10:40:54 +00:00
atheeshp
ad07de8a68
feat: x/auth deterministic tests ( #13329 )
...
* add tests for `accounts`
* add more tests
* add tests
* review changes
* refactor
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
* review changes
2022-10-11 05:22:00 +00:00
Aaron Craelius
f3a558c6b4
refactor!: require exported app wiring providers ( #13292 )
2022-10-10 20:27:44 +00:00
Aleksandr Bezobchuk
c60c55616d
feat: gRPC query for operator and chain configuration ( #13485 )
2022-10-10 19:12:00 +00:00
Julien Robert
214b11dcba
feat: add github links in docs ( #13491 )
...
* feat: add github links in docs
* apply proto theme
* fix toc
2022-10-10 20:02:32 +02:00
Julien Robert
a74989ddf4
feat: migrate to docusaurus ( #13471 )
2022-10-10 14:01:53 +00:00
Julien Robert
6efbedb1c7
feat: let sign-batch read multiple files ( #13454 )
...
* feat: let `sign-batch` read multiple files
* add changelog
* fix gosec issue
* simplify
2022-10-07 15:12:28 +00:00
Emmanuel T Odeke
481569ce4f
fix: all: fix resource leaks found by staticmajor ( #13394 )
...
Fixes resource leaks in which a .Close, .Stop method
wasn't invoked in return routes such as with errors.
Found by https://github.com/cosmos/cosmos-sdk/pull/13392
2022-10-06 20:11:40 +00:00
Julien Robert
74ce07eb26
docs: improve documentation navigation and redirection ( #13455 )
2022-10-06 15:51:10 +02:00
Amaury
90bd3161a1
refactor: Improve and clarify API around AccountAddressById ( #13460 )
...
* Revert "chore: change id to use uint64 in `AccountAddressByID` (#13411 )"
This reverts commit 3d0e214446 .
* Add since
* Update CLI command
* make proto-gen
* id->accNum
* No API breaking changes
* improve err msg
* Update CHANGELOG.md
Co-authored-by: Julien Robert <julien@rbrt.fr>
* Update CHANGELOG.md
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2022-10-06 11:05:25 +00:00
Marko
306a9a7170
feat!: consensus module ( #12905 )
2022-10-05 18:06:24 +00:00