Skip to content

Commit

Permalink
modify staking type
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac committed Nov 15, 2024
1 parent fe7f45c commit 12f319a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precompiles/precompiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 12f319a

Please sign in to comment.