feat: add function to withdraw and check delegator rewards #962
Annotations
5 errors and 1 warning
Test:
precompiles/precompiles.go#L55
cannot use staking.NewIStakingContract(ctx, stakingKeeper, *fungibleKeeper, bankKeeper, distributionKeeper, cdc, gasConfig) (value of type *staking.Contract) as vm.PrecompiledContract value in return statement: *staking.Contract does not implement vm.PrecompiledContract (wrong type for method Run)
|
Test:
precompiles/precompiles.go#L67
cannot use stakingContract (variable of type func(ctx "github.com/cosmos/cosmos-sdk/types".Context, _ params.Rules) vm.PrecompiledContract) as "github.com/zeta-chain/ethermint/x/evm/keeper".CustomContractFn value in argument to append
|
Test:
precompiles/precompiles.go#L55
cannot use staking.NewIStakingContract(ctx, stakingKeeper, *fungibleKeeper, bankKeeper, distributionKeeper, cdc, gasConfig) (value of type *staking.Contract) as vm.PrecompiledContract value in return statement: *staking.Contract does not implement vm.PrecompiledContract (wrong type for method Run)
|
Test:
precompiles/precompiles.go#L67
cannot use stakingContract (variable of type func(ctx "github.com/cosmos/cosmos-sdk/types".Context, _ params.Rules) vm.PrecompiledContract) as "github.com/zeta-chain/ethermint/x/evm/keeper".CustomContractFn value in argument to append
|
Test
Final attempt failed. Child_process exited with error code 2
|
Test
Attempt 1 failed. Reason: Child_process exited with error code 2
|
Loading