From 32df032c07cee45eeea22b1b459ea39fdee94fb2 Mon Sep 17 00:00:00 2001 From: Terence Tsao Date: Mon, 2 Apr 2018 07:03:06 -0700 Subject: [PATCH] sharding: align config with phase 1 spec Former-commit-id: e51e625451c086edb968f1cfbd0516678eaaa645 [formerly 886d4beb7d029ee156af565a5c1721a7061a4ff2] Former-commit-id: 35de58aa8e9609e50e53c1c219a94a07a7e73c44 --- sharding/collator/collator_test.go | 2 +- sharding/contracts/sharding_manager_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sharding/collator/collator_test.go b/sharding/collator/collator_test.go index 2ff2797eb..773fe15d7 100644 --- a/sharding/collator/collator_test.go +++ b/sharding/collator/collator_test.go @@ -17,7 +17,7 @@ import ( var ( key, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") addr = crypto.PubkeyToAddress(key.PublicKey) - accountBalance1001Eth, _ = new(big.Int).SetString("1000000000000000000001", 10) + accountBalance1001Eth, _ = new(big.Int).SetString("1001000000000000000000", 10) ) // Mock client for testing collator. Should this go into sharding/client/testing? diff --git a/sharding/contracts/sharding_manager_test.go b/sharding/contracts/sharding_manager_test.go index ea1f1f60f..b4bb9c3db 100644 --- a/sharding/contracts/sharding_manager_test.go +++ b/sharding/contracts/sharding_manager_test.go @@ -15,7 +15,7 @@ import ( var ( key, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") addr = crypto.PubkeyToAddress(key.PublicKey) - accountBalance1001Eth, _ = new(big.Int).SetString("1000000000000000000001", 10) + accountBalance1001Eth, _ = new(big.Int).SetString("1001000000000000000000", 10) collatorDeposit, _ = new(big.Int).SetString("1000000000000000000000", 10) )