Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions evm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# EVM App Changelog

## [`v0.2.0](https://github.com/ignite/apps/releases/tag/evm/v0.2.0)

- [#256](https://github.com/ignite/apps/pull/256) Upgrade `cosmos/evm` to v0.6.0.
- Follow those instructions if you scaffolded your chain with Ignite EVM App `v0.1.x`.

## [`v0.1.2`](https://github.com/ignite/apps/releases/tag/evm/v0.1.2)

- [#239](https://github.com/ignite/apps/pull/239) Set default token decimal to 18 as recommended.
Expand Down
30 changes: 16 additions & 14 deletions evm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/gobuffalo/genny/v2 v2.1.0
github.com/gobuffalo/plush/v4 v4.1.22
github.com/hashicorp/go-plugin v1.6.3
github.com/ignite/cli/v29 v29.8.0
github.com/ignite/cli/v29 v29.9.2
github.com/stretchr/testify v1.11.1
)

Expand All @@ -23,7 +23,7 @@ require (
cosmossdk.io/store v1.1.2 // indirect
cosmossdk.io/x/tx v0.14.0 // indirect
dario.cat/mergo v1.0.1 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
filippo.io/edwards25519 v1.1.1 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/DataDog/datadog-go v3.2.0+incompatible // indirect
Expand All @@ -50,7 +50,7 @@ require (
github.com/charmbracelet/x/ansi v0.8.0 // indirect
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
github.com/charmbracelet/x/term v0.2.1 // indirect
github.com/cloudflare/circl v1.6.1 // indirect
github.com/cloudflare/circl v1.6.3 // indirect
github.com/cloudwego/base64x v0.1.6 // indirect
github.com/cockroachdb/errors v1.12.0 // indirect
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
Expand Down Expand Up @@ -136,6 +136,7 @@ require (
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-metrics v0.5.4 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
Expand Down Expand Up @@ -208,6 +209,7 @@ require (
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tidwall/btree v1.7.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
github.com/zondax/golem v0.27.0 // indirect
Expand All @@ -221,19 +223,19 @@ require (
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/arch v0.17.0 // indirect
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/crypto v0.46.0 // indirect
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 // indirect
golang.org/x/mod v0.29.0 // indirect
golang.org/x/net v0.47.0 // indirect
golang.org/x/sync v0.18.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/term v0.37.0 // indirect
golang.org/x/text v0.31.0 // indirect
golang.org/x/tools v0.38.0 // indirect
golang.org/x/mod v0.30.0 // indirect
golang.org/x/net v0.48.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.39.0 // indirect
golang.org/x/term v0.38.0 // indirect
golang.org/x/text v0.32.0 // indirect
golang.org/x/tools v0.39.0 // indirect
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250728155136-f173205681a0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c // indirect
google.golang.org/grpc v1.75.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
google.golang.org/grpc v1.79.3 // indirect
google.golang.org/protobuf v1.36.10 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
87 changes: 44 additions & 43 deletions evm/go.sum

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions evm/template/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ const (
CosmosGoEthereumVersion = "v1.16.2-cosmos-1"

CosmosEVMPackage = "github.com/cosmos/evm"
// Using a pseudo version because v0.4.1 was broken...
CosmosEVMVersion = "v1.0.0-rc2.0.20250822211227-2d3df2ba510c"
CosmosEVMVersion = "v0.6.0"
)
9 changes: 4 additions & 5 deletions evm/template/files/app/ante.go.plush
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/evm/ante"
evmante "github.com/cosmos/evm/ante"
antetypes "github.com/cosmos/evm/ante/types"
cosmosevmante "github.com/cosmos/evm/ante/evm"
cosmosevmtypes "github.com/cosmos/evm/types"
"github.com/ethereum/go-ethereum/common"

appante "<%= ModulePath %>/app/ante"

)

// setAnteHandler sets the ante handler for the application.
Expand All @@ -17,15 +17,14 @@ func (app *App) setAnteHandler(txConfig client.TxConfig, maxGasWanted uint64) {
Cdc: app.appCodec,
AccountKeeper: app.AuthKeeper,
BankKeeper: app.BankKeeper,
ExtensionOptionChecker: cosmosevmtypes.HasDynamicFeeExtensionOption,
ExtensionOptionChecker: antetypes.HasDynamicFeeExtensionOption,
EvmKeeper: app.EVMKeeper,
FeegrantKeeper: app.FeeGrantKeeper,
IBCKeeper: app.IBCKeeper,
FeeMarketKeeper: app.FeeMarketKeeper,
SignModeHandler: txConfig.SignModeHandler(),
SigGasConsumer: evmante.SigVerificationGasConsumer,
MaxTxGasWanted: maxGasWanted,
TxFeeChecker: cosmosevmante.NewDynamicFeeChecker(app.FeeMarketKeeper),
PendingTxListener: func(hash common.Hash) {
for _, listener := range app.pendingTxListeners {
listener(hash)
Expand All @@ -36,5 +35,5 @@ func (app *App) setAnteHandler(txConfig client.TxConfig, maxGasWanted uint64) {
panic(err)
}

app.SetAnteHandler(appante.NewAnteHandler(options))
app.SetAnteHandler(evmante.NewAnteHandler(options))
}
54 changes: 0 additions & 54 deletions evm/template/files/app/ante/ante.go.plush

This file was deleted.

40 changes: 0 additions & 40 deletions evm/template/files/app/ante/cosmos_handler.go.plush

This file was deleted.

23 changes: 0 additions & 23 deletions evm/template/files/app/ante/evm_handler.go.plush

This file was deleted.

Loading
Loading