From df15b21ba284c986357d8bc8336b022d65b79cac Mon Sep 17 00:00:00 2001 From: "Mark.B" Date: Mon, 28 Oct 2024 15:32:06 +0100 Subject: [PATCH] adjust tests to new values --- test/Redistribution.test.ts | 4 ++-- test/Staking.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Redistribution.test.ts b/test/Redistribution.test.ts index 2235ba65..f691e712 100644 --- a/test/Redistribution.test.ts +++ b/test/Redistribution.test.ts @@ -84,7 +84,7 @@ let node_2: string; const overlay_2 = '0xa40db58e368ea6856a24c0264ebd73b049f3dc1c2347b1babc901d3e09842dec'; const stakeAmount_2 = '100000000000000000'; const effectiveStakeAmount_2 = '99999999999984000'; -const effectiveStakeAmount_2_n_2 = '100000000000000000'; +const effectiveStakeAmount_2_n_2 = '99999999999936000'; const nonce_2 = '0xb5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33'; const hash_2 = '0xb5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33'; const depth_2 = '0x06'; @@ -100,7 +100,7 @@ const hash_3 = '0xb5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b const depth_3 = '0x06'; const reveal_nonce_3 = '0xb5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33'; const height_3_n_2 = 3; -const effectiveStakeAmount_3 = '100000000000000000'; +const effectiveStakeAmount_3 = '99999999999744000'; let node_4: string; const overlay_4 = '0xaedb2a8007316805b4d64b249ea39c5a1c4a9ce51dc8432724241f41ecb02efb'; diff --git a/test/Staking.test.ts b/test/Staking.test.ts index 4e7adf0d..90b13e03 100644 --- a/test/Staking.test.ts +++ b/test/Staking.test.ts @@ -39,9 +39,9 @@ const stakeAmount_0 = '100000000000000000'; const updateStakeAmount_0 = '633633'; const updatedStakeAmount_0 = '100000000000633633'; const committedStakeAmount_0 = '4166666666666'; -const updatedCommittedStakeAmount_0 = '4166666666692'; +const updatedCommittedStakeAmount_0 = '4166666666693'; const doubled_stakeAmount_0 = '200000000000000000'; -const doubled_committedStakeAmount_0 = '8333333333332'; +const doubled_committedStakeAmount_0 = '8333333333333'; const nonce_0 = '0xb5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33b5555b33'; const height_0 = 0;