File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
engine/execution/state/bootstrap Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func TestBootstrapLedger(t *testing.T) {
5858
5959func TestBootstrapLedger_ZeroTokenSupply (t * testing.T ) {
6060 expectedStateCommitmentBytes , _ := hex .DecodeString (
61- "9b45ac2b9e1e04fd57761d551110d988c1737855d17f2f540c4b6c79c4b5058e " ,
61+ "072ff5128df34db4483879f1b617338cd51def0e55cae25927eb5f3b404f3ef9 " ,
6262 )
6363 expectedStateCommitment , err := flow .ToStateCommitment (expectedStateCommitmentBytes )
6464 require .NoError (t , err )
@@ -107,7 +107,7 @@ func TestBootstrapLedger_ZeroTokenSupply(t *testing.T) {
107107// This tests that the state commitment has not changed for the bookkeeping parts of the transaction.
108108func TestBootstrapLedger_EmptyTransaction (t * testing.T ) {
109109 expectedStateCommitmentBytes , _ := hex .DecodeString (
110- "52ca1f4d53adc9ff018f10473a8bd02b4dc9baf5ab04bc1ac0fbb5b40e780d83 " ,
110+ "61acd22132b90efd23bb1c4413ae5071dc9c0e123c288371a755e4f041791a20 " ,
111111 )
112112 expectedStateCommitment , err := flow .ToStateCommitment (expectedStateCommitmentBytes )
113113 require .NoError (t , err )
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 = "b23ecbd2c3978ac25d7e8715eda129cae7b14d9a74f8d57540cb78394ef6d9e7 "
26+ const GenesisStateCommitmentHex = "dad6fda8f9745ec0e1cf9d4d2429060a9460cef513f29272a6deb973820af6aa "
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 "d19068fda1c0f015020ef3a48ef3a789ba879b99d1e40d8fbf47f156b49917cc "
90+ return "d758711a98ebb0cb16023f8b14dfd18ab6b4292af6634f115f47b2065b839f4b "
9191 }
9292 if chainID == flow .Sandboxnet {
9393 return "e1c08b17f9e5896f03fe28dd37ca396c19b26628161506924fbf785834646ea1"
9494 }
95- return "acf5c0f522697f54e8de9d31ccc4bddc860d3990474b19f44c994f1daf86d588 "
95+ return "a3af0430b178103671b02564a1cc3477ab25acf459523449640a2b6198bd83c8 "
9696}
You can’t perform that action at this time.
0 commit comments