Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update go-tss #2094

Merged
merged 86 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
faf57e9
Remove unused params from fungible module
skosito Apr 9, 2024
39d8eeb
Make generate
skosito Apr 9, 2024
ec1cbec
Changelog
skosito Apr 9, 2024
697395e
Lint fix
skosito Apr 9, 2024
3ad1bc3
Lint fix
skosito Apr 9, 2024
5b7e6ca
Migrate emissions params to store
skosito Apr 10, 2024
c4a7328
Migrate observer params to its own store
skosito Apr 11, 2024
59326cb
Merge branch 'remove-broadcastmode-block' into params-upgrade
skosito Apr 11, 2024
c3e0ce6
Make generate
skosito Apr 11, 2024
5c311a8
Changelog
skosito Apr 11, 2024
cdbd412
Lint fixes
skosito Apr 11, 2024
c185179
Add observer slash amount param to migrate script
skosito Apr 11, 2024
d32aa34
Fix tests
skosito Apr 11, 2024
dbfb052
Lint fixes
skosito Apr 11, 2024
6aad8db
Fixes
skosito Apr 11, 2024
90d99d3
Lint fixes
skosito Apr 11, 2024
e146fc5
Fixes
skosito Apr 11, 2024
6eb076b
Tests
skosito Apr 11, 2024
4edfbd0
Small cleanup
skosito Apr 11, 2024
54c26d0
Try upgrade with simapp change
skosito Apr 11, 2024
dc97a25
Remove not needed params store mock
skosito Apr 12, 2024
802e51b
fix compile errors
skosito Apr 15, 2024
b306a42
proto changes
skosito Apr 16, 2024
a7f8db7
Fixes
skosito Apr 16, 2024
e69aaa5
Upgrade handler changes
skosito Apr 16, 2024
821c027
Fixes
skosito Apr 17, 2024
d04c043
Merge branch 'remove-broadcastmode-block' into params-upgrade
skosito Apr 17, 2024
b8565ce
Fix e2e test
skosito Apr 17, 2024
5666209
Merge branch 'feat-cosmos-sdk-0.47.10-upgrade' into params-upgrade
skosito Apr 18, 2024
2c84db6
Fixes after merge
skosito Apr 18, 2024
575a12c
Add found flag to get params method
skosito Apr 18, 2024
e63b4c0
Move ballot maturity blocks param to emissions module
skosito Apr 18, 2024
69aaadc
Remove params from observer module
skosito Apr 19, 2024
8231e45
Fix build
skosito Apr 19, 2024
b4df472
Merge branch 'params-upgrade' into cosmos-v0.47-upgrade
skosito Apr 19, 2024
40330c5
Regen proto
skosito Apr 19, 2024
be591fe
Fixes for e2e tests
skosito Apr 19, 2024
7e86f63
Fix some unit tests
skosito Apr 19, 2024
a43eb77
Fix some lint errors
skosito Apr 19, 2024
cab4dc1
Fix more unit tests
skosito Apr 19, 2024
1d706fc
PR comments
skosito Apr 19, 2024
b2896d9
Merge branch 'params-upgrade' into cosmos-v0.47-upgrade
skosito Apr 19, 2024
b20ff73
Proto paths fixes
skosito Apr 19, 2024
3d7e7c0
Linters
skosito Apr 19, 2024
167b5e5
make typescript
skosito Apr 19, 2024
ecff4b1
proto format
skosito Apr 19, 2024
30f9867
make specs
skosito Apr 19, 2024
16e15c7
make docs
skosito Apr 19, 2024
81e6868
make gen
skosito Apr 19, 2024
9a7743a
lint
skosito Apr 19, 2024
38f0d64
Fix some unit tests
skosito Apr 19, 2024
caeef08
Fix cli test suites
skosito Apr 20, 2024
c0fd32a
Fix lints
skosito Apr 20, 2024
8d98448
Tmp comment unit test
skosito Apr 20, 2024
28abd7c
lint
skosito Apr 20, 2024
eb76373
Use latest ethermint change and fix test
skosito Apr 20, 2024
309745d
PR comment
skosito Apr 22, 2024
3b4d35c
Merge branch 'params-upgrade' into cosmos-v0.47-upgrade
skosito Apr 22, 2024
700fb8d
PR comments
skosito Apr 22, 2024
4966fa5
Fix one more import
skosito Apr 22, 2024
3eb285b
Cleanup
skosito Apr 22, 2024
897501a
Lint fix
skosito Apr 22, 2024
9285663
Merge branch 'params-upgrade' into cosmos-v0.47-upgrade
skosito Apr 22, 2024
7918ddc
Bump zetachain ethermint
skosito Apr 23, 2024
eb4b62c
Remove cometbft replace
skosito Apr 23, 2024
4a8fee0
go mod tidy
skosito Apr 23, 2024
f376b74
bump ethermint
skosito Apr 23, 2024
b1f4ef1
Revert replace
skosito Apr 23, 2024
a6baf2e
Bump ethermint
skosito Apr 23, 2024
0c679ff
Merge branch 'feat-cosmos-sdk-0.47.10-upgrade' into cosmos-v0.47-upgrade
skosito Apr 26, 2024
fbe40f5
Proto files updates after merge
skosito Apr 26, 2024
70eec6f
Make generate
skosito Apr 26, 2024
79a7d2e
Bump ethermint
skosito Apr 26, 2024
0d7c4b8
Fix PR comments
skosito Apr 26, 2024
49802da
Formatting
skosito Apr 26, 2024
6aa34c5
Mention observer params removal in breaking changes in changelog
skosito Apr 29, 2024
519fb01
bump ethermint
skosito Apr 29, 2024
7ea0a4d
Remove tendermint dep after go-tss upgrade
skosito Apr 29, 2024
f3b1d11
Merge branch 'feat-cosmos-sdk-0.47.10-upgrade' into update-go-tss
skosito Apr 29, 2024
b39f493
go mod tidy
skosito Apr 29, 2024
45a8f95
bump go-tss
skosito Apr 30, 2024
eed881c
changelog
skosito Apr 30, 2024
2ddbded
changelog
skosito Apr 30, 2024
4cae6ae
Merge branch 'feat-cosmos-sdk-0.47.10-upgrade' into update-go-tss
skosito Apr 30, 2024
80165d1
Merge branch 'feat-cosmos-sdk-0.47.10-upgrade' into update-go-tss
skosito Apr 30, 2024
d841cd1
Merge branch 'feat-cosmos-sdk-0.47.10-upgrade' into update-go-tss
skosito Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
* [2032](https://github.com/zeta-chain/node/pull/2032) - improve some general structure of the ZetaClient codebase
* [2100](https://github.com/zeta-chain/node/pull/2100) - cosmos v0.47 upgrade

### Refactor
* [2094](https://github.com/zeta-chain/node/pull/2094) - upgrade go-tss to use cosmos v0.47

## Unreleased
### Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions cmd/zetaclientd/keygen_tss.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
appcontext "github.com/zeta-chain/zetacore/zetaclient/app_context"
mc "github.com/zeta-chain/zetacore/zetaclient/tss"
"github.com/zeta-chain/zetacore/zetaclient/zetabridge"
"golang.org/x/crypto/sha3"

"github.com/cometbft/cometbft/crypto/secp256k1"
"github.com/rs/zerolog"
"github.com/tendermint/crypto/sha3"
"github.com/tendermint/tendermint/crypto/secp256k1"
tsscommon "github.com/zeta-chain/go-tss/common"
"github.com/zeta-chain/go-tss/keygen"
"github.com/zeta-chain/go-tss/p2p"
Expand Down
2 changes: 1 addition & 1 deletion cmd/zetaclientd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import (
"syscall"
"time"

"github.com/cometbft/cometbft/crypto/secp256k1"
ethcommon "github.com/ethereum/go-ethereum/common"
"github.com/libp2p/go-libp2p/core"
maddr "github.com/multiformats/go-multiaddr"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/tendermint/tendermint/crypto/secp256k1"
"github.com/zeta-chain/go-tss/p2p"
"github.com/zeta-chain/zetacore/pkg/authz"
"github.com/zeta-chain/zetacore/pkg/constant"
Expand Down
6 changes: 1 addition & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ require (
github.com/frumioj/crypto11 v1.2.5-0.20210823151709-946ce662cc0e
github.com/pkg/errors v0.9.1
github.com/rakyll/statik v0.1.7
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15
github.com/zeta-chain/go-tss v0.1.1-0.20240208222330-f3be0d4a0d98
github.com/zeta-chain/go-tss v0.1.1-0.20240430111318-1785e48eb127
github.com/zeta-chain/keystone/keys v0.0.0-20231105174229-903bc9405da2
github.com/zeta-chain/protocol-contracts v1.0.2-athens3.0.20240418181724-c222fd3ae1f5
google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0
Expand All @@ -64,7 +63,6 @@ require (
github.com/cometbft/cometbft-db v0.8.0
github.com/nanmu42/etherscan-api v1.10.0
github.com/onrik/ethrpc v1.2.0
github.com/tendermint/tendermint v0.34.14
go.nhat.io/grpcmock v0.25.0
)

Expand Down Expand Up @@ -308,7 +306,6 @@ require (
github.com/status-im/keycard-go v0.2.0 // indirect
github.com/stretchr/objx v0.5.1 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/tendermint/btcd v0.1.1 // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tidwall/btree v1.6.0 // indirect
github.com/tklauser/go-sysconf v0.3.10 // indirect
Expand All @@ -318,7 +315,6 @@ require (
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect
github.com/zondax/hid v0.9.2 // indirect
github.com/zondax/ledger-go v0.14.3 // indirect
gitlab.com/thorchain/binance-sdk v1.2.3-0.20210117202539-d569b6b9ba5d // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand Down
Loading
Loading