Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3f3f8a8
remove replace of cosmossdk.io/core
pthmas Aug 6, 2025
ee95a00
remove replace of cometbft-db
pthmas Aug 6, 2025
d8f0223
update Dockerfile go to 1.23.2
pthmas Aug 6, 2025
e231592
update cosmossdk.io/api
pthmas Aug 6, 2025
08050b9
update cosmossdk.io/errors
pthmas Aug 6, 2025
703901c
update comsossdk.io/log
pthmas Aug 6, 2025
4ff483b
update cosmossdk.io/math
pthmas Aug 6, 2025
3b17079
update cosmossdk.io/tools/confix
pthmas Aug 6, 2025
ccda33d
update cosmossdk.io/x/circuit
pthmas Aug 6, 2025
fa91e8e
cosmossdk.io/x/tx
pthmas Aug 6, 2025
9eafafa
update github.com/cosmos/cosmos-db
pthmas Aug 6, 2025
a89ab68
update github.com/cosmos/rosetta
pthmas Aug 6, 2025
4b39957
update github.com/deckarep/golang-set/v2
pthmas Aug 6, 2025
b19c58f
github.com/ethereum/go-ethereum
pthmas Aug 6, 2025
e530e9d
update github.com/go-playground/validator/v10
pthmas Aug 6, 2025
463a77d
update github.com/golangci/golangci-lint
pthmas Aug 6, 2025
1063cab
update github.com/ory/dockertest/v3
pthmas Aug 6, 2025
812d7dc
update github.com/spf13/cast
pthmas Aug 6, 2025
df6307c
udpate github.com/spf13/cast
pthmas Aug 6, 2025
abb336b
update github.com/spf13/pflag
pthmas Aug 6, 2025
29b3345
update github.com/vektra/mockery/v2
pthmas Aug 6, 2025
9925274
udpate github.com/zyedidia/generic
pthmas Aug 6, 2025
53b70fb
update golang.org/x/exp
pthmas Aug 6, 2025
403f639
update google.golang.org/genproto/googleapis/api
pthmas Aug 6, 2025
5aa01ab
update google.golang.org/grpc
pthmas Aug 6, 2025
99d80e7
update gopkg.in/DataDog/dd-trace-go.v1
pthmas Aug 6, 2025
c79e6c6
update gopkg.in/typ.v4
pthmas Aug 6, 2025
56d6fb4
update github.com/cometbft/cometbft
pthmas Aug 6, 2025
23ccd4c
update github.com/cosmos/cosmos-sdk
pthmas Aug 6, 2025
b22e997
update github.com/cosmos/iavl
pthmas Aug 6, 2025
1274906
update github.com/cosmos/ibc-go/v8
pthmas Aug 6, 2025
349fa53
update cosmossdk.io/client/v2
pthmas Aug 6, 2025
ff99115
update cosmossdk.io/x/evidence
pthmas Aug 6, 2025
902b6d5
update cosmossdk.io/x/upgrade
pthmas Aug 6, 2025
36a2436
Force gotoolchain to use 1.23.x
pthmas Aug 27, 2025
4ec6113
App wiring change for cosmos 0.53
pthmas Aug 27, 2025
80dd362
fix metrics
pthmas Aug 27, 2025
90c0707
update gomock usage
pthmas Aug 27, 2025
a707d0d
remove Keyring from AppOptions
pthmas Aug 27, 2025
dfb2321
add method to Mock TxBuilder to satisfy interface
pthmas Aug 27, 2025
a8d4773
User iavldb Wrapper for test
pthmas Aug 27, 2025
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
4 changes: 2 additions & 2 deletions protocol/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NB: This is a digest for a multi-arch manifest list, you will want to get this by running
# `docker buildx imagetools inspect golang:1.23.1-alpine`
ARG GOLANG_1_23_ALPINE_DIGEST="ac67716dd016429be8d4c2c53a248d7bcdf06d34127d3dc451bda6aa5a87bc06"
# `docker buildx imagetools inspect golang:1.23.2-alpine`
ARG GOLANG_1_23_ALPINE_DIGEST="9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679"

# This Dockerfile is a stateless build of the `dydxprotocold` binary as a Docker container.
# It does not include any configuration, state, or genesis information.
Expand Down
5 changes: 5 additions & 0 deletions protocol/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export COMMIT=$(shell git rev-parse HEAD)

export GO111MODULE = on

# Force Go toolchain to a 1.23.x version to avoid incompatibilities (e.g., sonic) when developers have newer Go locally.
# You can override on the command line: `GOTOOLCHAIN=auto make install` or `GOTOOLCHAIN=go1.24.5 make install`.
GOTOOLCHAIN ?= go1.23.5
export GOTOOLCHAIN

# process build tags
build_tags = netgo

Expand Down
2 changes: 1 addition & 1 deletion protocol/app/ante/sigverify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
accountplustypes "github.com/dydxprotocol/v4-chain/protocol/x/accountplus/types"
clobtypes "github.com/dydxprotocol/v4-chain/protocol/x/clob/types"
satypes "github.com/dydxprotocol/v4-chain/protocol/x/subaccounts/types"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/require"
gomock "go.uber.org/mock/gomock"
)

func TestSigVerification(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions protocol/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,7 @@ func New(

app.ModuleManager.SetOrderPreBlockers(
upgradetypes.ModuleName, // Must be first since upgrades may be state schema breaking.
authtypes.ModuleName,
clobmoduletypes.ModuleName,
pricesmoduletypes.ModuleName,
)
Expand Down
7 changes: 0 additions & 7 deletions protocol/cmd/dydxprotocold/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
"github.com/cosmos/cosmos-sdk/client/keys"
"github.com/cosmos/cosmos-sdk/client/rpc"
"github.com/cosmos/cosmos-sdk/codec/address"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
runtimeservices "github.com/cosmos/cosmos-sdk/runtime/services"
"github.com/cosmos/cosmos-sdk/server"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
Expand Down Expand Up @@ -252,18 +251,12 @@ func autoCliOpts(tempApp *dydxapp.App, initClientCtx client.Context) autocli.App
}
}

cliKR, err := keyring.NewAutoCLIKeyring(initClientCtx.Keyring)
if err != nil {
panic(err)
}

return autocli.AppOptions{
Modules: modules,
ModuleOptions: runtimeservices.ExtractAutoCLIOptions(tempApp.ModuleManager.Modules),
AddressCodec: authcodec.NewBech32Codec(sdktypes.GetConfig().GetBech32AccountAddrPrefix()),
ValidatorAddressCodec: authcodec.NewBech32Codec(sdktypes.GetConfig().GetBech32ValidatorAddrPrefix()),
ConsensusAddressCodec: authcodec.NewBech32Codec(sdktypes.GetConfig().GetBech32ConsensusAddrPrefix()),
Keyring: cliKR,
ClientCtx: initClientCtx,
}
}
Expand Down
Loading