Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
742889d
update all ibc-go imports to v10
NeverHappened Apr 28, 2025
13a66a2
wip: fix constructors usage for ibc-go keepers and middleware
NeverHappened Apr 28, 2025
2b03eff
remove neutron v6.0.0 upgrade
NeverHappened Apr 29, 2025
8f3dc28
upgrade wasmd and remove ics stuff
NeverHappened Apr 29, 2025
8723c02
Merge branch 'main' into feat/ibc-go-v10
NeverHappened Apr 29, 2025
af11582
upgrade interfaces for ibc-go v10
NeverHappened Apr 29, 2025
91b4d59
fix mocks, ibc-hooks interfaces, some tests, state verifier ibc-go de…
NeverHappened Apr 30, 2025
faf614d
tmp: add light client modules
NeverHappened May 1, 2025
90a4190
remove capabilities and cleanup comments; fix some tests
NeverHappened May 5, 2025
524c32d
Merge remote-tracking branch 'origin/main' into feat/ibc-go-v10
NeverHappened May 5, 2025
33ece28
fix more tests
NeverHappened May 5, 2025
31fdea2
more tests
NeverHappened May 5, 2025
b13fc55
tmp: fix
NeverHappened May 6, 2025
59da1a0
tmp fixes
NeverHappened May 7, 2025
ada3054
tmp: fix more tests
NeverHappened May 7, 2025
e28000e
fix icq tests; cleanup
NeverHappened May 7, 2025
135c611
fix state-verifier tests
NeverHappened May 7, 2025
1e31f20
fully remove capability module
NeverHappened May 7, 2025
d4ae407
Merge branch 'main' into feat/ibc-go-v10
NeverHappened May 7, 2025
8bbbaac
update genesis.proto for ibc transfer
NeverHappened May 12, 2025
9a5923e
fix todo's and remove trash
NeverHappened May 13, 2025
bb47162
test fix: add escrow to allow for acknowledge of packet
NeverHappened May 14, 2025
fc91233
add MustExtractDenomFromPacketOnRecv test
NeverHappened May 15, 2025
b43a7d3
Merge branch 'main' into feat/ibc-go-v10
NeverHappened Jun 9, 2025
8852745
remove comment and unused file
NeverHappened Jun 9, 2025
ab41922
rename nextupgrade -> v8
NeverHappened Jun 10, 2025
11fc237
fix incorrect removal of module in upgrades
NeverHappened Jun 10, 2025
9e20d10
update wasmd
NeverHappened Jun 10, 2025
98c8933
lint
NeverHappened Jun 10, 2025
4e59d63
fix lint
NeverHappened Jun 10, 2025
8585be9
update wasmd to v0.55.1
NeverHappened Jun 26, 2025
afcebbb
Merge branch 'main' into feat/ibc-go-v10
NeverHappened Jun 26, 2025
a5c37d8
don't use unnecessary variable
NeverHappened Jul 1, 2025
b644355
Merge branch 'main' into feat/ibc-go-v10
NeverHappened Jul 2, 2025
7ac5534
Merge branch 'main' into feat/ibc-go-v10
pr0n00gler Oct 27, 2025
f7d0522
Merge branch 'main' into feat/ibc-go-v10
NeverHappened Nov 24, 2025
dedacb2
Merge branch 'feat/ibc-go-v10' of github.com:neutron-org/neutron into…
NeverHappened Nov 24, 2025
50472ab
merge fixes for 0.53 migration
NeverHappened Nov 24, 2025
e17061a
fix compilation
NeverHappened Nov 24, 2025
09587c8
Merge remote-tracking branch 'origin/main' into feat/cosmos-sdk-53
NeverHappened Nov 26, 2025
7adcff1
fix ibc-go version
NeverHappened Nov 26, 2025
374ead1
fix cosmos sdk version: bump to 0.53
NeverHappened Nov 28, 2025
2713a6b
update go to 1.24, update wasmd to v0.61.6, slinky to correct version
NeverHappened Nov 29, 2025
4ae7035
update dockerfile
NeverHappened Nov 29, 2025
173fb4b
Merge branch 'main' into feat/cosmos-sdk-53
NeverHappened Dec 2, 2025
f1e5419
fix preblockers: remove not needed ones
NeverHappened Dec 2, 2025
7c58328
lint update
NeverHappened Dec 3, 2025
329a77d
bump golangci-lint-action@v9
NeverHappened Dec 3, 2025
7dcd65a
fix
NeverHappened Dec 3, 2025
88437c2
fix interchain tests
NeverHappened Dec 3, 2025
d01f30a
bump feemarket
NeverHappened Dec 3, 2025
4876b39
bump linter version
pr0n00gler Dec 5, 2025
e74e399
lint
pr0n00gler Dec 5, 2025
1c8a27d
lint
pr0n00gler Dec 5, 2025
7a54783
lint
pr0n00gler Dec 5, 2025
6a82edf
linter version
pr0n00gler Dec 5, 2025
7a9664d
linter version
pr0n00gler Dec 5, 2025
3730bab
adjust tests
pr0n00gler Dec 8, 2025
fa2f854
Add 'cosmwasm_3_0' capability
pr0n00gler Dec 8, 2025
8b24108
fixed slinky e2e test. Removed ccv constructor from test setup
swelf19 Dec 9, 2025
8ac2698
Merge branch 'main' into feat/cosmos-sdk-53
pr0n00gler Dec 11, 2025
77e108a
Merge branch 'main' into feat/cosmos-sdk-53
NeverHappened Jan 12, 2026
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
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
name: lint
runs-on: ubicloud-standard-2
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v6
with:
go-version: '~1.23'
go-version: '1.24.10'
cache: false
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v9
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: 'v1.63.4'
version: 'v2.7.1'
# Optional: working directory, useful for monorepos
# working-directory: somedir

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
name: Test
runs-on: ubicloud-standard-2
steps:
- name: Set up Go 1.23
- name: Set up Go 1.24
uses: actions/setup-go@v4
with:
go-version: ~1.23
go-version: ~1.24
id: go

- name: Check out code into the Go module directory
Expand Down
41 changes: 17 additions & 24 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,35 @@
version: "2"
run:
tests: true
# timeout for analysis, e.g. 30s, 5m, default is 1m
timeout: 10m

linters:
disable-all: true
default: none
enable:
- copyloopvar
- dogsled
- errcheck
- copyloopvar
- goconst
- gocritic
- gofumpt
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nolintlint
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused

issues:
max-issues-per-linter: 10000
max-same-issues: 10000

linters-settings:
gofumpt:
# Choose whether to use the extra rules.
# Default: false
extra-rules: true
nolintlint:
allow-unused: true
require-explanation: false
require-specific: false
settings:
nolintlint:
require-explanation: false
require-specific: false
allow-unused: true
exclusions:
paths:
- '.*.pb.go'
formatters:
enable:
- gofumpt
settings:
gofumpt:
extra-rules: true
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
golang 1.24.10
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM golang:1.23-bullseye
FROM golang:1.24-bullseye
RUN apt-get update && apt-get install -y jq xxd
EXPOSE 26656 26657 1317 9090
COPY --from=app . /opt/neutron
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.builder
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.23"
ARG GO_VERSION="1.24"
ARG RUNNER_IMAGE="gcr.io/distroless/static"

# --------------------------------------------------------
Expand All @@ -14,7 +14,7 @@ ARG GIT_COMMIT
ARG BUILD_TAGS
ARG ENABLED_PROPOSALS

ENV GOTOOLCHAIN go1.23.4
ENV GOTOOLCHAIN go1.24.10

RUN apk add --no-cache \
ca-certificates \
Expand All @@ -29,7 +29,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
go mod download

# Cosmwasm - Download correct libwasmvm version
RUN WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm/v2 | cut -d ' ' -f 2) && \
RUN WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm/v3 | cut -d ' ' -f 2) && \
wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/libwasmvm_muslc.$(uname -m).a \
-O /lib/libwasmvm_muslc.$(uname -m).a && \
# verify checksum
Expand Down
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ LEDGER_ENABLED ?= true
SDK_PACK := $(shell go list -m github.com/cosmos/cosmos-sdk | sed 's/ /\@/g')
BINDIR ?= $(GOPATH)/bin
SIMAPP = ./app
GO_VERSION=1.23
GOLANGCI_LINT_VERSION=v1.63.4
GO_VERSION=1.24
GOLANGCI_LINT_VERSION=v2.7.1
BUILDDIR ?= $(CURDIR)/build

# for dockerized protobuf tools
Expand Down Expand Up @@ -202,14 +202,13 @@ test-sim-multi-seed-short: runsim
###############################################################################

lint:
golangci-lint run --exclude-files ".*.pb.go"
golangci-lint run --fix --config .golangci.yml
find . -name '*.go' -not -name "*.pb.go" -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*_test.go" | xargs gofmt -d -s

format:
format: lint
@go install mvdan.cc/gofumpt@latest
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION)
@go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION)
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name "*.pb.go" -not -name "*.pb.gw.go" -not -name "*.pulsar.go" -not -path "./crypto/keys/secp256k1/*" | xargs -I % sh -c 'gofumpt -w -l % && goimports -w -local github.com/neutron-org %'
golangci-lint run --fix --exclude-files ".*.pb.go"

.PHONY: format

Expand Down
10 changes: 5 additions & 5 deletions app/ante_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
ibcante "github.com/cosmos/ibc-go/v8/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
ibcante "github.com/cosmos/ibc-go/v10/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v10/modules/core/keeper"
feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante"

globalfeeante "github.com/neutron-org/neutron/v9/x/globalfee/ante"
Expand All @@ -27,7 +27,7 @@ type HandlerOptions struct {
AccountKeeper feemarketante.AccountKeeper
IBCKeeper *ibckeeper.Keeper
GlobalFeeKeeper globalfeekeeper.Keeper
WasmConfig *wasmTypes.NodeConfig
NodeConfig *wasmTypes.NodeConfig
TXCounterStoreService corestoretypes.KVStoreService
FeeMarketKeeper feemarketante.FeeMarketKeeper
}
Expand All @@ -42,7 +42,7 @@ func NewAnteHandler(options HandlerOptions, _ log.Logger) (sdk.AnteHandler, erro
if options.SignModeHandler == nil {
return nil, errors.Wrap(sdkerrors.ErrLogic, "sign mode handler is required for ante builder")
}
if options.WasmConfig == nil {
if options.NodeConfig == nil {
return nil, errors.Wrap(sdkerrors.ErrLogic, "wasm config is required for ante builder")
}
if options.TXCounterStoreService == nil {
Expand All @@ -60,7 +60,7 @@ func NewAnteHandler(options HandlerOptions, _ log.Logger) (sdk.AnteHandler, erro

anteDecorators := []sdk.AnteDecorator{
ante.NewSetUpContextDecorator(),
wasmkeeper.NewLimitSimulationGasDecorator(options.WasmConfig.SimulationGasLimit), // after setup context to enforce limits early
wasmkeeper.NewLimitSimulationGasDecorator(options.NodeConfig.SimulationGasLimit), // after setup context to enforce limits early
wasmkeeper.NewCountTXDecorator(options.TXCounterStoreService),
ante.NewExtensionOptionsDecorator(options.ExtensionOptionChecker),
ante.NewValidateBasicDecorator(),
Expand Down
Loading
Loading