cosmos-sdk/types
Amaury 956d8b4915
feat: Add `fee.{payer,granter}` and `tip` fields to StdSignDoc (#10348)
* Add IsTipper

* Use addr in signer data

* Always populate addr in signer data

* fi error messages

* make proto gen

* fix build

* Add fields to sign docs and sign mode handler

* Remove getSequence

* Update x/auth/migrations/legacytx/stdtx.go

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Update x/auth/migrations/legacytx/stdsign.go

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>

* Use addressCodec

* NewTxConfig with addrCdc

* REmove simapp.NewBech32

* Move bech32 stuff to x/auth/address

* Add changelog

* Move address.Codec to x/auth

* Fix test

* Add tests for tipper and feepayer

* Rename tests

* Add more tests

* Empty tip test

* Revert unwanted files

* Less line diff

* fix test

* fix another test

* Fix test

* Update x/auth/migrations/legacytx/stdtx_test.go

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>

* Address reviews

Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2021-10-22 15:13:37 +02:00
..
address feat!: Add bech32 prefix to authkeeper (#9759) 2021-08-25 11:17:18 +00:00
bech32 build(deps): Use self-maintained btcutil (#10082) (#10201) 2021-09-30 13:25:44 +00:00
errors feat: Add Table-Store (aka ORM) package - Table and Indexable (#9751) 2021-10-21 10:19:52 +00:00
grpc
kv fix: check store keys length before accessing (#9639) 2021-07-08 13:29:12 +02:00
module chore(upgrade): cleaning (#10413) 2021-10-22 10:56:08 +00:00
msgservice Cleanup remains of ServiceMsg (#9236) 2021-05-07 09:31:20 +00:00
query refactor(test)!: refactor `simapp.Setup` function (#9938) 2021-08-17 00:52:06 +00:00
simulation refactor: Rename x/{mod}/legacy to x/{mod}/migrations (#9628) 2021-07-05 14:55:51 +00:00
tx feat: Add `fee.{payer,granter}` and `tip` fields to StdSignDoc (#10348) 2021-10-22 15:13:37 +02:00
abci.go
abci.pb.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
address.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
address_race_test.go cosmos-reflection: extend to support writing by reflection clients (#8965) 2021-04-07 00:33:54 +01:00
address_test.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
bench_test.go run make format (#8642) 2021-02-19 15:02:53 +00:00
codec.go Remove ServiceMsgs from ADR-031 (#9139) 2021-04-30 11:00:47 +00:00
coin.go perf: Only do memory allocation when zero coin is found (#10339) 2021-10-13 22:12:20 +00:00
coin.pb.go feat: Introduce Cosmos Scalars (#9933) 2021-09-21 09:46:29 +00:00
coin_benchmark_test.go test: fix BenchmarkCoinsAdditionIntersect panic (#9904) 2021-08-11 02:13:17 -07:00
coin_internal_test.go add sorted check for the coins sub/add fun parameter (#9240) 2021-05-05 15:55:28 +00:00
coin_test.go fix: null guard for tx fee amounts (#10327) 2021-10-12 09:11:14 +00:00
config.go Deprecate SetFullFundraiserPath in favor of SetPurpose and SetCoinType (#8629) 2021-02-22 15:14:09 +00:00
config_test.go Deprecate SetFullFundraiserPath in favor of SetPurpose and SetCoinType (#8629) 2021-02-22 15:14:09 +00:00
context.go refactor: Remove store type aliases (#10295) 2021-10-04 16:36:38 +00:00
context_test.go feat: add header hash to `Context` (#9390) 2021-05-26 08:36:42 +00:00
dec_coin.go chore: change the inconsistent error message in DecCoin.ParseDecCoin func (#9831) 2021-09-14 14:43:12 +00:00
dec_coin_test.go chore: change the inconsistent error message in DecCoin.ParseDecCoin func (#9831) 2021-09-14 14:43:12 +00:00
decimal.go fix: Handle MAX_INT_256 (#9511) 2021-06-16 14:18:02 +00:00
decimal_internal_test.go
decimal_test.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
denom.go
denom_internal_test.go
events.go feat: add tx fee event (#9860) 2021-08-09 14:50:01 +00:00
events_test.go
handler.go
handler_test.go refactor!: Keyring migration (#9695) 2021-09-20 12:02:15 +00:00
int.go types: fix nil pointer panic on `NewIntFromBigInt` (#9627) 2021-07-05 08:36:35 -04:00
int_internal_test.go fix: Handle MAX_INT_256 (#9511) 2021-06-16 14:18:02 +00:00
int_test.go types: fix nil pointer panic on `NewIntFromBigInt` (#9627) 2021-07-05 08:36:35 -04:00
invariant.go
invariant_test.go
proto.go
queryable.go
result.go refactor: Implementing sigs.k8s.io YAML to remove .proto yaml annotations (#9780) 2021-09-24 14:37:34 +00:00
result_test.go
router.go
router_test.go
staking.go simply default power reduction definition 2021-03-21 20:29:39 -04:00
staking_test.go on-chain power reduction param conversion basic work 2021-01-27 20:24:00 +10:00
store.go refactor: Remove store type aliases (#10295) 2021-10-04 16:36:38 +00:00
store_internal_test.go refactor: Remove store type aliases (#10295) 2021-10-04 16:36:38 +00:00
store_test.go refactor: Remove store type aliases (#10295) 2021-10-04 16:36:38 +00:00
tx_msg.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
tx_msg_test.go refactor!: change GetSigners return type to []sdk.AccAddress (#9915) 2021-08-13 15:34:00 +00:00
uint.go various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
uint_internal_test.go
uint_test.go types: use (*math/big.Int).BitLen() == 0 to check if value is 0 (#8580) 2021-02-15 10:53:10 +00:00
utils.go
utils_test.go