File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
engine/execution/state/bootstrap Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ func TestBootstrapLedger(t *testing.T) {
5757}
5858
5959func TestBootstrapLedger_ZeroTokenSupply (t * testing.T ) {
60- expectedStateCommitmentBytes , _ := hex .DecodeString ("2a5475ed7fb1a4f76b1aa1c592dfebe913d9b441cc9102fe3870a2a3c9329d87" )
60+ expectedStateCommitmentBytes , _ := hex .DecodeString (
61+ "9b45ac2b9e1e04fd57761d551110d988c1737855d17f2f540c4b6c79c4b5058e" ,
62+ )
6163 expectedStateCommitment , err := flow .ToStateCommitment (expectedStateCommitmentBytes )
6264 require .NoError (t , err )
6365
@@ -104,7 +106,9 @@ func TestBootstrapLedger_ZeroTokenSupply(t *testing.T) {
104106// - transaction fee deduction
105107// This tests that the state commitment has not changed for the bookkeeping parts of the transaction.
106108func TestBootstrapLedger_EmptyTransaction (t * testing.T ) {
107- expectedStateCommitmentBytes , _ := hex .DecodeString ("3932e2b94bc248ce6f50defe435e5cdbdb7c572fd44eb39d954b37c2aa5a2720" )
109+ expectedStateCommitmentBytes , _ := hex .DecodeString (
110+ "52ca1f4d53adc9ff018f10473a8bd02b4dc9baf5ab04bc1ac0fbb5b40e780d83" ,
111+ )
108112 expectedStateCommitment , err := flow .ToStateCommitment (expectedStateCommitmentBytes )
109113 require .NoError (t , err )
110114
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const ServiceAccountPrivateKeySignAlgo = crypto.ECDSAP256
2323const ServiceAccountPrivateKeyHashAlgo = hash .SHA2_256
2424
2525// Pre-calculated state commitment with root account with the above private key
26- const GenesisStateCommitmentHex = "78d704954cb4c058e98defc406d8979613d14c33afa462fa86f5805692cc71a0 "
26+ const GenesisStateCommitmentHex = "b23ecbd2c3978ac25d7e8715eda129cae7b14d9a74f8d57540cb78394ef6d9e7 "
2727
2828var GenesisStateCommitment flow.StateCommitment
2929
@@ -87,10 +87,10 @@ func genesisCommitHexByChainID(chainID flow.ChainID) string {
8787 return GenesisStateCommitmentHex
8888 }
8989 if chainID == flow .Testnet {
90- return "b785b3d48e9af817deddd18020c47291c1c583efab5adf0c6b102850b95ca8e6 "
90+ return "d19068fda1c0f015020ef3a48ef3a789ba879b99d1e40d8fbf47f156b49917cc "
9191 }
9292 if chainID == flow .Sandboxnet {
9393 return "e1c08b17f9e5896f03fe28dd37ca396c19b26628161506924fbf785834646ea1"
9494 }
95- return "c43c9654c5ff3db601373d68243c4bca79303c75ce89ae8c4d3866615800a23a "
95+ return "acf5c0f522697f54e8de9d31ccc4bddc860d3990474b19f44c994f1daf86d588 "
9696}
You can’t perform that action at this time.
0 commit comments