SaReN
c5c049a045
Persist evidence in equivocation handler ( #8502 )
...
* Persist evidence in handler
* update docs
* update docs
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-05 15:35:03 +00:00
SaReN
2e9fd04020
Remove Info Importer from legacy keybase ( #8500 )
2021-02-03 13:11:42 +00:00
Michael FIG
ce161c4f0c
fix: tendermint subcommands should not create missing files ( #8481 )
...
If the user specifies an incorrect `--home`, then the old behaviour
would automatically populate it with fresh values, but we should
fail instead.
2021-02-02 16:57:58 +00:00
SaReN
15d83f5dac
Add changelog ( #8490 )
2021-02-02 11:34:23 +00:00
Amaury
c1b567f44c
Refactor store keys for variable-length addresses ( #8363 )
...
* Change account store key in x/bank
* Fix pagination test
* Fix merge master
* Fix staking keys.go
* Use bech32 in val state change map
* Fix sortNoLongerBonded
* Use length-prefix function
* Use length prefix function
* Fix test accountStore
* Fix ExamplePaginate
* Fix staking keys
* Use shorter balances prefix
* Do slashing keys
* Fix gov keys
* Fix x/gov tests
* Fix x/distrib
* Address reviews
* add change log entry
* Add changelog
* Fix failing tests
* Fix sim tests
* fix after-export sim
* Fix lint
* Address review
* Fix x/authz
* Fix global config in test
* Update x/staking/keeper/val_state_change.go
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
* Address comments
* Fix comments
* Address review
* Fix authz test
* Update comment
* Rename to LengthPrefixedAddressStoreKey
* Use variable
* Rename function
* Fix test build
* chore: update rosetta CI (#8453 )
* Rename again
* Rename yet again
* Update feegrant keys
* Add function to create prefix
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-01 13:17:44 +00:00
Ethan Frey
17d7e9a8d5
Add packet_connection attribute to packet lifecycle methods ( #8458 )
...
* Add packet_connection attribute to packet lifecycle methods
Added to:
* SendPacket
* ReceivePacket
* WriteAcknowledgement
* AcknowledgePacket
* Add CHANGELOG
* Update CHANGELOG.md
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2021-02-01 14:01:53 +01:00
Federico Kunze
1d75e0e984
bank: additional client metadata validation ( #8479 )
...
* bank: additional client metadata validation
* changelog and comment
* fix tab
2021-01-29 23:48:26 -03:00
yihuang
d6e4a2e9bc
fix bech32 prefix in evidence ( #8461 )
...
Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Co-authored-by: Tomas Tauber <2410580+tomtau@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-29 20:05:24 +00:00
Riccardo Montagnin
e2f510afcc
Compatibility with the ARM architecture ( #8396 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2021-01-27 11:07:45 +00:00
colin axnér
09b8f7783a
ibc: MsgTransfer amino JSON, commits from @fedekunze ( #8437 )
2021-01-26 09:03:21 -03:00
vincent
50b4be9110
Fix query signing infos command ( #8427 )
...
* fix query signing infos command
* add changelog
2021-01-26 09:32:05 +00:00
Federico Kunze
bdd7fa9712
simapp: increase supply balance when adding genaccount ( #8418 )
...
* simapp: increase supply balance when adding genaccount
* changelog
2021-01-24 11:33:27 -03:00
Federico Kunze
7d4f7f93fe
x/bank: balance and metadata validation ( #8417 )
...
* x/bank: balance validation
* metadata validation
* minor change
* balance and metadata tests
* changelog
* check for empty coins
* genesis test
2021-01-22 21:44:54 -03:00
Frojdi Dymylja
5ed11519e0
[appd] fix: gRPC web address default flag value ( #8399 )
...
* fix: flags grpc web default address
* chore: update CHANGELOG.md
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-22 04:12:22 +00:00
colin axnér
f9ee39f0b2
Reorder IBC channel callbacks ( #8404 )
...
* reorder chan callbacks
* add changelog
* Update CHANGELOG.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-21 15:10:07 +00:00
Robert Zaremba
3d2896a2e4
Update changelog after 0.40.1 release ( #8394 )
2021-01-20 09:26:39 +00:00
colin axnér
619f0a2fe2
Update changelog ( #8371 )
2021-01-19 07:59:36 -03:00
Federico Kunze
01eec66d28
x/bank: client denom metadata gRPC ( #8317 )
...
* deps: bump tendermint to v0.34.2
* x/bank: denom metadata gRPC
* cli: add cmd and tests
* gRPC test'
* changelog
* fix test
* Apply suggestions from code review
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
* fix panic
* use cmd.Context()
* update tests
* Update x/bank/types/errors.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* test fix
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aditya <adityasripal@gmail.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-18 18:15:16 +00:00
Robert Zaremba
e8d47bb93b
fix: wrappedError.Is ( #8355 )
...
* fix: wrappedError.Is
Is method should return true when used on 2 same errors.
* Changelog update
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-18 17:00:04 +00:00
Segue
411b04d3aa
Fix ibc client ( #8341 )
...
* fix-ibc-client
* add changelog
2021-01-18 11:45:06 +00:00
Federico Kunze
046b1a4da5
deps: bump tendermint to v0.34.2 ( #8316 )
...
* deps: bump tendermint to v0.34.2
* changelog
* tidy
2021-01-12 19:54:27 +00:00
SaReN
9d67526dd7
Fix sequence value in auth sign signature only ( #8287 )
...
* fix signature only
* add test, changelog
* update test
* Update CHANGELOG.md
* address suggestions
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-12 07:47:47 +00:00
Cory
5113effd24
v0.40.0 Changelog backport & docs publish ( #8285 )
...
* Stargate Release PR -- v0.40.0 Final (#8284 )
* v0.40.0 final changelog & release notes
* Trigger Build
* update docs/versions to render v0.40 docs site
2021-01-09 08:59:07 -03:00
Robert Zaremba
7fc5e3e6ab
codecs: rename MakeCodecs rename and docs update ( #8245 )
...
* codecs: rename MakeCodecs to MakeTestCodecs
* update changelog
* remove MakeTestCodecs
* typo
2021-01-07 21:50:52 +00:00
Cory
7fd3d00459
update changelog for rc7 ( #8275 )
2021-01-07 12:26:24 -08:00
Cory
5020a189e2
Update tendermint to v0.34.1 ( #8281 )
...
* update tendermint to v0.34.1
* update changelog
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-07 17:47:45 +00:00
Cory
f4ce6860d2
v0.40.0-rc6 Changelog Update ( #8249 )
...
* rc6 changelog update
* Update CHANGELOG.md
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* rc6 changelog update
* drop newline
* more changelog entries
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-01-05 01:51:19 +00:00
Cory
7c1da3d998
update changelog for v0.40.0-rc5 ( #8156 )
2020-12-14 18:51:11 -08:00
Robert Zaremba
3a9e696bbf
fix: Signature only flag bug on tx sign command 7632 ( #8106 )
...
* fix: Signature only flag bug on tx sign command 7632
* Update client/context.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* Update client/context.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* use named return value and closure (#8111 )
This is to correctly handle deferred Close()
calls on writable files.
* set the right 'append' logic for signing transactions
* cleanup
* update tx.Sign interface by adding overwrite option
* Update Changelog
* sign command cleanup
* implementation and changelog update
* fix SignTx and tx.Sign calls
* fix: sign didn't write to a file
* update flags description
* Add tx.Sign tests
* fix grpc/server_test.go
* Update client/tx/tx.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* changelog update
* Add test to verify matching signatures
* cli_test: add integration tests for sign CMD
* add output-file flag test
* add flagAmino test
* Update x/auth/client/cli/tx_sign.go
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* Update x/auth/client/cli/tx_sign.go
* update amino serialization test
* TestSign: adding unit test for signing with different modes
* Add test with Multi Signers into Robert's TxSign PR (#8142 )
* Add test with Multi Signers
* remove true false
* Use SIGN_MODE_DIRECT
* Fix litn
* Use correct pubkeys
* Correct accNum and seq
* Use amino
* cleanups
* client.Sign: raise error when signing tx with multiple signers in Direct
+ added more unit tests
* add more tests
* Update client/tx/tx_test.go
Co-authored-by: Cory <cjlevinson@gmail.com>
* fix TestGetBroadcastCommand_WithoutOfflineFlag
* Any.UnsafeSetCachedValue
* fix note packed messages in tx builder
* reorder unit tests
* Changelog update
* cleaning / linting
* cli_tes: copy validator object instead of modifying it's shared codec
* x/auth cli_test: remove custom codec creation in tests
* Update CHANGELOG.md
* updates to CHANGELOG.md
* remove unused method
* add new instance of transaction builder for TestSign
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <amaury.martiny@protonmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-14 21:44:15 +00:00
Robert Zaremba
fe41718047
Robert/api clientctx ( #8107 )
...
* rename clientCtx.PrintOutput to PrintObject
* rename clientCtx.PrintOutputLegacy to PrintObjectLegacy
* Changelog update
* Rename PrintObject to PrintProto
2020-12-08 20:17:40 +00:00
Riccardo Montagnin
e843878920
Recover private validator key ( #8099 )
...
* Recover private validator key
Added the ability to recover the private validator key from a given mnemonic when initializing the node
* Added CHANGELOG entry
* Reverted dependencies
* Added tests
* Fixed mnemonic checking as suggested and added tests
* Run make format and fixed go.sum checksum
* Run make format
* fix imports
* fix TestInitializeNodeValidatorFilesFromMnemonic
* Update CHANGELOG.md
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
2020-12-08 17:22:43 +00:00
Robert Zaremba
b219c54c2d
Move and update codec.MarshalAny functions to codec.Marshaler interface ( #8080 )
...
* Changelog update
* Rename codec.MarshalAny
* move codec.MarshalInterface to codec.Marshaler
* fix tests
* Update amino_codec for compliance with MarshalerInterface
* update tests and comments
* add tests
* change order of args in UnmarshalInterface to a canonical one
* uplift MarshalInterface to take ProtoMessage as an argument
* wip
* add nil check
* make tests working
* tests cleanup
* add support for *JSON methods
* Update changelog
* linter fixes
* fix test types
* update evidence genesis_test
* adding test
* review updates
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-08 09:27:08 +00:00
Amaury
1b00c01b70
Audit through legacy endpoints to find breaking changes ( #8037 )
...
* Add error msg on staking
* Add tests for legacy staking and gov
* Add test for encode
* Fix broadcast too
* Add comments
* update changelog
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-03 23:33:32 +00:00
Aleksandr Bezobchuk
5291a8ff31
Refactor Logging using Zerolog ( #8072 )
...
* init commit
* server: use flags
* server: godoc++
* updates
* baseapp: update logging
* logging updates
* x/bank: update logging
* logging updates
* lint++
* logging updates
* logging updates
* logging updates
* logging updates
* cl++
2020-12-03 23:17:21 +00:00
vincent
f57828c091
Fix CryptoCdc inconsistent ( #7987 )
...
* simple fix
* refactor crypto
* just use codec/legacy.Cdc
* revert armor
* add changelog entry
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-12-02 14:50:50 +01:00
Robert Zaremba
fdac39813c
changelog update
2020-11-19 13:34:35 +01:00
Federico Kunze
97d96612c9
crypto/hd: add 'm/' prefix to hd path ( #7970 )
...
* crypto/hd: add 'm/' prefix to hd path
* update fundraiser path
* fix some tests
* tests
* fix test case
* changelog
* fix ledger tests
2020-11-18 18:42:45 +00:00
Paul Kim
b5e873cd91
version --long displays replaced build dependencies ( #7941 )
...
* version --long displays replaced modules
* Update CHANGELOG
* Update CHANGELOG
* Update version/version.go
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
2020-11-16 10:00:34 +00:00
Riccardo Montagnin
6cbbe0d4ef
Update dependencies to use gRPC v1.33.2 ( #7925 )
...
* Updated gRCP version to v1.33.1 since v1.33.0 was deleted (see https://github.com/grpc/grpc-go/issues/3945 )
* Updated CHANGELOG
* Updated CHANGELOG
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-15 12:29:37 +00:00
Aditya
4b529a41cf
Capability Fixes ( #7918 )
...
* add cap and name checks
* Update x/capability/keeper/keeper.go
* address reviews
* fix missing trim
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-13 11:13:59 +00:00
Marie Gauthier
90e9370bd8
Replace tmcrypto.PubKey by our own cryptotypes.PubKey ( #7419 )
...
* WIP on removing tm pub/privkey
* Fix part of crypto tests
* Add PrivKeyLedgerSecp256K1 proto type
* Use BasePrivKey for ledger priv key type
* Refacto continued
* First round
* x/staking
* Continue porting
* x/* done
* Make build pass
* More conversion
* Remove IntoTmPubKey
* Fix test
* Remove crypto.PubKey in some other places
* Revert ledger changes
* Fix comment
* Remove useless function
* Add To/FromTmPublicKey
* Add migrate tests
* Fix test
* Fix another test
* Rename tm conversion functions
* Less code
* Rename BasePrivKey to LedgerPrivKey
* Add changelog
* Rename functions
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-09 16:01:43 +00:00
Cory
590358652c
update changelog for rc3 ( #7843 )
2020-11-06 19:15:26 +00:00
Cory
56c08d1117
Bump to tendermint v0.34-rc6 ( #7828 )
...
* bump to tendermint v0.34-rc6
* update go.mod
* tendermint version is now accessible as tmversion.TMCoreSemVer
* add changelog entry
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-11-06 10:13:52 +00:00
SaReN
286e9bfbef
Remove duplicate tx commands for auth ( #7788 )
...
* remove duplicate commands
* add changelog
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-04 09:58:11 +00:00
Cory
ce3994020a
Stargate RC2 - Changelog updates & tag RC ( #7785 )
...
* update changelog with rc1 and rc2 entries
* add more rc2 changelog updates
2020-11-02 16:25:36 -08:00
Robert Zaremba
c201963e41
Update x/banking and x/crisis InitChain re slow Gaia startup ( #7764 )
...
* add more logs during the initialization process
* initializtion: move profiling to the top of the startProcess function
* x/bank InitGenesis: remove k.ValidateBalance
* debug: add logs and telemetry to x/bank and x/crisis
* make x/crisis AssertInvariants optional during InitGenesis
* Add module init flags mechanism
* update changelog
* remove debug fmt.Print
* fix testutil/network/
* fix log message
* update test NewApp calls
* review changes
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-11-02 19:10:14 +00:00
yihuang
aff88bbe99
Fix #7640 : tally calculation precision error ( #7641 )
...
Solution:
- change `(a / b) * c` to `a * b / c`
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-02 14:50:33 +00:00
Amaury Martiny
1961935fc7
Add GetTx gRPC endpoint ( #7688 )
...
* Add empty TxByHash
* Fix search & replace
* Renname to GetTx
* Make getTx grpc work
* Hash as string
* Add todo comment
* /tx
* Make tests pass
* Put into function
* Add changelog
* Fix lint
* RegisterTxService in server
* Remove comment
* Update proto/cosmos/tx/v1beta1/service.proto
Co-authored-by: Cory <cjlevinson@gmail.com>
* Create new protoCdc
* Move tx service to x/auth
* Small tweaks
* Link gh issue
* Fix lint
* Update x/auth/tx/service.go
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2020-10-30 12:32:02 +00:00
colin axnér
dca9dcd276
Fix panic in context when setting nodeURI ( #7699 )
...
* Fix panic in context
Move URI parsing outside of context. WithNodeURI will only set the nodeURI. To set the Client in the context, WithClient must be called.
* add changelog
* add deleted space back
2020-10-28 13:31:22 +00:00
yihuang
afb6771726
fix inconsistent flag names in upgrade proposal command ( #7697 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-28 10:41:55 +00:00