diff --git a/precompiles/precompiles.go b/precompiles/precompiles.go index f18c9838a1..3c9a066812 100644 --- a/precompiles/precompiles.go +++ b/precompiles/precompiles.go @@ -51,7 +51,7 @@ func StatefulContracts( // Define the staking contract function. if EnabledStatefulContracts[staking.ContractAddress] { - stakingContract := func(ctx sdktypes.Context, _ ethparams.Rules) vm.PrecompiledContract { + stakingContract := func(ctx sdktypes.Context, _ ethparams.Rules) vm.StatefulPrecompiledContract { return staking.NewIStakingContract( ctx, stakingKeeper,