Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

* [#1979](https://github.com/crypto-org-chain/cronos/pull/1979) fix(testground): fix send_batch_size&send_interval setup failed in testground.

### Chores:
* [#1986](https://github.com/crypto-org-chain/cronos/pull/1986) Remove unused precompiles


*Jan 26, 2026*

## v1.7.0
Expand Down
14 changes: 1 addition & 13 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import (
cronosclient "github.com/crypto-org-chain/cronos/x/cronos/client"
cronoskeeper "github.com/crypto-org-chain/cronos/x/cronos/keeper"
evmhandlers "github.com/crypto-org-chain/cronos/x/cronos/keeper/evmhandlers"
cronosprecompiles "github.com/crypto-org-chain/cronos/x/cronos/keeper/precompiles"
"github.com/crypto-org-chain/cronos/x/cronos/middleware"
// force register the extension json-rpc.
_ "github.com/crypto-org-chain/cronos/x/cronos/rpc"
Expand All @@ -57,11 +56,8 @@ import (
e2eekeyring "github.com/crypto-org-chain/cronos/x/e2ee/keyring"
e2eetypes "github.com/crypto-org-chain/cronos/x/e2ee/types"
"github.com/ethereum/go-ethereum/common"
// Force-load the tracer engines to trigger registration
"github.com/ethereum/go-ethereum/core/vm"
_ "github.com/ethereum/go-ethereum/eth/tracers/js"
_ "github.com/ethereum/go-ethereum/eth/tracers/native"
ethparams "github.com/ethereum/go-ethereum/params"
"github.com/evmos/ethermint/ante/cache"
evmenc "github.com/evmos/ethermint/encoding"
"github.com/evmos/ethermint/ethereum/eip712"
Expand Down Expand Up @@ -646,21 +642,13 @@ func New(
// Set authority to x/gov module account to only expect the module account to update params
evmS := app.GetSubspace(evmtypes.ModuleName)

gasConfig := storetypes.TransientGasConfig()
app.EvmKeeper = evmkeeper.NewKeeper(
appCodec,
keys[evmtypes.StoreKey], okeys[evmtypes.ObjectStoreKey], authtypes.NewModuleAddress(govtypes.ModuleName),
app.AccountKeeper, app.BankKeeper, app.StakingKeeper, app.FeeMarketKeeper,
tracer,
evmS,
[]evmkeeper.CustomContractFn{
func(_ sdk.Context, rules ethparams.Rules) vm.PrecompiledContract {
return cronosprecompiles.NewRelayerContract(app.IBCKeeper, appCodec, rules, app.Logger())
},
func(ctx sdk.Context, rules ethparams.Rules) vm.PrecompiledContract {
return cronosprecompiles.NewIcaContract(ctx, app.ICAControllerKeeper, &app.CronosKeeper, appCodec, gasConfig)
},
},
[]evmkeeper.CustomContractFn{},
cast.ToUint64(appOpts.Get(server.FlagQueryGasLimit)),
)

Expand Down
3 changes: 3 additions & 0 deletions integration_tests/test_ica_precompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@

pytestmark = pytest.mark.ica

# skip ica precompile integration tests since it's not enabled by default.
pytest.skip("skipping ica precompile tests", allow_module_level=True)

CONTRACT = "0x0000000000000000000000000000000000000066"
connid = "connection-0"
no_timeout = 300000000000
Expand Down
Loading