|
|
@ -20,31 +20,31 @@ type writeCapablePrecompileTest struct { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func CollectRewardsFn() CollectRewardsFunc { |
|
|
|
func CollectRewardsFn() CollectRewardsFunc { |
|
|
|
return func(db StateDB, collectRewards *stakingTypes.CollectRewards) error { |
|
|
|
return func(db StateDB, rosettaTracer RosettaTracer, collectRewards *stakingTypes.CollectRewards) error { |
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func DelegateFn() DelegateFunc { |
|
|
|
func DelegateFn() DelegateFunc { |
|
|
|
return func(db StateDB, delegate *stakingTypes.Delegate) error { |
|
|
|
return func(db StateDB, rosettaTracer RosettaTracer, delegate *stakingTypes.Delegate) error { |
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func UndelegateFn() UndelegateFunc { |
|
|
|
func UndelegateFn() UndelegateFunc { |
|
|
|
return func(db StateDB, undelegate *stakingTypes.Undelegate) error { |
|
|
|
return func(db StateDB, rosettaTracer RosettaTracer, undelegate *stakingTypes.Undelegate) error { |
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func CreateValidatorFn() CreateValidatorFunc { |
|
|
|
func CreateValidatorFn() CreateValidatorFunc { |
|
|
|
return func(db StateDB, createValidator *stakingTypes.CreateValidator) error { |
|
|
|
return func(db StateDB, rosettaTracer RosettaTracer, createValidator *stakingTypes.CreateValidator) error { |
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func EditValidatorFn() EditValidatorFunc { |
|
|
|
func EditValidatorFn() EditValidatorFunc { |
|
|
|
return func(db StateDB, editValidator *stakingTypes.EditValidator) error { |
|
|
|
return func(db StateDB, rosettaTracer RosettaTracer, editValidator *stakingTypes.EditValidator) error { |
|
|
|
return nil |
|
|
|
return nil |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|