From 50a1a26fc50a4eaa26f5411ac7c30039c5d1c04b Mon Sep 17 00:00:00 2001 From: pavelkrolevets Date: Mon, 7 Oct 2024 16:22:33 +0300 Subject: [PATCH] fix operator tests --- pkgs/operator/state_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/operator/state_test.go b/pkgs/operator/state_test.go index c7a6dcc1..5ebbcee8 100644 --- a/pkgs/operator/state_test.go +++ b/pkgs/operator/state_test.go @@ -127,6 +127,7 @@ func TestInitInstance(t *testing.T) { Operators: ops, Owner: common.HexToAddress("0x0000001"), Nonce: 1, + Amount: uint64(spec_crypto.MIN_ACTIVATION_BALANCE), T: 3, WithdrawalCredentials: []byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, } @@ -222,6 +223,7 @@ func TestSwitch_cleanInstances(t *testing.T) { Operators: ops, Owner: common.HexToAddress("0x0000001"), Nonce: 1, + Amount: uint64(spec_crypto.MIN_ACTIVATION_BALANCE), WithdrawalCredentials: []byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, T: 3, }