diff --git a/engine/execution/computation/execution_verification_test.go b/engine/execution/computation/execution_verification_test.go index a95f4e2afe3..02bef4e742a 100644 --- a/engine/execution/computation/execution_verification_test.go +++ b/engine/execution/computation/execution_verification_test.go @@ -220,7 +220,7 @@ func Test_ExecutionMatchesVerification(t *testing.T) { err = testutil.SignTransaction(addKeyTxBuilder, accountAddress, accountPrivKey, 0) require.NoError(t, err) - minimumStorage, err := cadence.NewUFix64("0.00015594") + minimumStorage, err := cadence.NewUFix64("0.00018479") require.NoError(t, err) createAccountTx, err := createAccountTxBuilder.Build() diff --git a/engine/execution/state/bootstrap/bootstrap_test.go b/engine/execution/state/bootstrap/bootstrap_test.go index 58401ad633d..a0752a3c89e 100644 --- a/engine/execution/state/bootstrap/bootstrap_test.go +++ b/engine/execution/state/bootstrap/bootstrap_test.go @@ -58,7 +58,7 @@ func TestBootstrapLedger(t *testing.T) { func TestBootstrapLedger_ZeroTokenSupply(t *testing.T) { expectedStateCommitmentBytes, _ := hex.DecodeString( - "250dab8c1ebccd4a6e047b52f4d2bd33b35e2fdaa6b12e701803149aad4046d0", + "b8146cb6d6d4bce8c47849e2d53a9e6199ea6625ed0f85c25fbdeedc9d74b598", ) expectedStateCommitment, err := flow.ToStateCommitment(expectedStateCommitmentBytes) require.NoError(t, err) @@ -107,7 +107,7 @@ func TestBootstrapLedger_ZeroTokenSupply(t *testing.T) { // This tests that the state commitment has not changed for the bookkeeping parts of the transaction. func TestBootstrapLedger_EmptyTransaction(t *testing.T) { expectedStateCommitmentBytes, _ := hex.DecodeString( - "a35f40f037369b37b9762e983601e4fe9557fbd8f3431e8132f21f4ff856ac9c", + "860b8c70155d7597366c9412d55b8acb167ee64563858bf7c052e063ee20b2a3", ) expectedStateCommitment, err := flow.ToStateCommitment(expectedStateCommitmentBytes) require.NoError(t, err) diff --git a/go.mod b/go.mod index 055313b00c0..21b70c9ba33 100644 --- a/go.mod +++ b/go.mod @@ -50,8 +50,8 @@ require ( github.com/onflow/cadence v1.10.5 github.com/onflow/crypto v0.25.4 github.com/onflow/flow v0.4.20-0.20260303141511-b7c99b4fb01b - github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3 - github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3 + github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4 + github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4 github.com/onflow/flow-go-sdk v1.10.5 github.com/onflow/flow/protobuf/go/flow v0.4.20 github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 diff --git a/go.sum b/go.sum index b20336979a0..1da0469a63e 100644 --- a/go.sum +++ b/go.sum @@ -950,10 +950,10 @@ github.com/onflow/fixed-point v0.1.1 h1:j0jYZVO8VGyk1476alGudEg7XqCkeTVxb5ElRJRK github.com/onflow/fixed-point v0.1.1/go.mod h1:gJdoHqKtToKdOZbvryJvDZfcpzC7d2fyWuo3ZmLtcGY= github.com/onflow/flow v0.4.20-0.20260303141511-b7c99b4fb01b h1:Pr+Vxdr/J0V+1mOKfOvC3+Ik6I9ogJGXDYkW0FIYS/g= github.com/onflow/flow v0.4.20-0.20260303141511-b7c99b4fb01b/go.mod h1:lzyAYmbu1HfkZ9cfnL5/sjrrsnJiUU8fRL26CqLP7+c= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3 h1:OTJo6PzE8F0EtvBsBvXKVqSA8eCm1uzN+aWwV5gtjPs= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3/go.mod h1:fn0eOOINlOdQSOWptENC92MpPorB7dHzZaC3VTAmiQY= -github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3 h1:MA0tiuQo69AhaMh8TgEMyJwuKKO3UK8PB8W+Fg1YVt4= -github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3/go.mod h1:bXe+VkZmvM3QYGjfizprStRfasLA/7ii7l6+LHP5V1U= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4 h1:tUmbvKlApxfLfguNj9UCvgIB9kxiYqdPbK/IGdKzINQ= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4/go.mod h1:fn0eOOINlOdQSOWptENC92MpPorB7dHzZaC3VTAmiQY= +github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4 h1:CifICeJM0FpOVzmGM328VT7OSJOQ7GRioZTRmSBrMgQ= +github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4/go.mod h1:bXe+VkZmvM3QYGjfizprStRfasLA/7ii7l6+LHP5V1U= github.com/onflow/flow-evm-bridge v0.2.1 h1:S32kk+UV7/COdQZakIMsJw6vxShel0s8lI3FyGFl9jM= github.com/onflow/flow-evm-bridge v0.2.1/go.mod h1:ExhTZax2F+boo13dzT/uAI7rvwewAoz9v+dEXhhFjYg= github.com/onflow/flow-ft/lib/go/contracts v1.1.1 h1:BNbP3CrTIgScpx2NS9snq9XDESFjgXrMXTrwk5H4iSs= diff --git a/insecure/go.mod b/insecure/go.mod index 0edc304e8a7..fe383e642c8 100644 --- a/insecure/go.mod +++ b/insecure/go.mod @@ -218,8 +218,8 @@ require ( github.com/onflow/atree v0.16.1 // indirect github.com/onflow/cadence v1.10.5 // indirect github.com/onflow/fixed-point v0.1.1 // indirect - github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3 // indirect - github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3 // indirect + github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4 // indirect + github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4 // indirect github.com/onflow/flow-evm-bridge v0.2.1 // indirect github.com/onflow/flow-ft/lib/go/contracts v1.1.1 // indirect github.com/onflow/flow-ft/lib/go/templates v1.1.1 // indirect diff --git a/insecure/go.sum b/insecure/go.sum index c31ece80946..80378bd68e5 100644 --- a/insecure/go.sum +++ b/insecure/go.sum @@ -898,10 +898,10 @@ github.com/onflow/crypto v0.25.4 h1:R615PWPdSoA5RATNb/j3cYaloBIZlSXVNgS7BjwHiwM= github.com/onflow/crypto v0.25.4/go.mod h1:DlkW/1SPUvLHYvUcjWa9PkLIRgSBKR4EDc3i+ATQKW4= github.com/onflow/fixed-point v0.1.1 h1:j0jYZVO8VGyk1476alGudEg7XqCkeTVxb5ElRJRKS90= github.com/onflow/fixed-point v0.1.1/go.mod h1:gJdoHqKtToKdOZbvryJvDZfcpzC7d2fyWuo3ZmLtcGY= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3 h1:OTJo6PzE8F0EtvBsBvXKVqSA8eCm1uzN+aWwV5gtjPs= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3/go.mod h1:fn0eOOINlOdQSOWptENC92MpPorB7dHzZaC3VTAmiQY= -github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3 h1:MA0tiuQo69AhaMh8TgEMyJwuKKO3UK8PB8W+Fg1YVt4= -github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3/go.mod h1:bXe+VkZmvM3QYGjfizprStRfasLA/7ii7l6+LHP5V1U= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4 h1:tUmbvKlApxfLfguNj9UCvgIB9kxiYqdPbK/IGdKzINQ= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4/go.mod h1:fn0eOOINlOdQSOWptENC92MpPorB7dHzZaC3VTAmiQY= +github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4 h1:CifICeJM0FpOVzmGM328VT7OSJOQ7GRioZTRmSBrMgQ= +github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4/go.mod h1:bXe+VkZmvM3QYGjfizprStRfasLA/7ii7l6+LHP5V1U= github.com/onflow/flow-evm-bridge v0.2.1 h1:S32kk+UV7/COdQZakIMsJw6vxShel0s8lI3FyGFl9jM= github.com/onflow/flow-evm-bridge v0.2.1/go.mod h1:ExhTZax2F+boo13dzT/uAI7rvwewAoz9v+dEXhhFjYg= github.com/onflow/flow-ft/lib/go/contracts v1.1.1 h1:BNbP3CrTIgScpx2NS9snq9XDESFjgXrMXTrwk5H4iSs= diff --git a/integration/go.mod b/integration/go.mod index c6dbd539ed4..524e6138679 100644 --- a/integration/go.mod +++ b/integration/go.mod @@ -23,8 +23,8 @@ require ( github.com/onflow/cadence v1.10.5 github.com/onflow/crypto v0.25.4 github.com/onflow/flow v0.4.20-0.20260303141511-b7c99b4fb01b - github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3 - github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3 + github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4 + github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4 github.com/onflow/flow-ft/lib/go/contracts v1.1.1 github.com/onflow/flow-go v0.38.0-preview.0.0.20241021221952-af9cd6e99de1 github.com/onflow/flow-go-sdk v1.10.5 diff --git a/integration/go.sum b/integration/go.sum index 3262349e66a..f0cdab7bf69 100644 --- a/integration/go.sum +++ b/integration/go.sum @@ -760,10 +760,10 @@ github.com/onflow/fixed-point v0.1.1 h1:j0jYZVO8VGyk1476alGudEg7XqCkeTVxb5ElRJRK github.com/onflow/fixed-point v0.1.1/go.mod h1:gJdoHqKtToKdOZbvryJvDZfcpzC7d2fyWuo3ZmLtcGY= github.com/onflow/flow v0.4.20-0.20260303141511-b7c99b4fb01b h1:Pr+Vxdr/J0V+1mOKfOvC3+Ik6I9ogJGXDYkW0FIYS/g= github.com/onflow/flow v0.4.20-0.20260303141511-b7c99b4fb01b/go.mod h1:lzyAYmbu1HfkZ9cfnL5/sjrrsnJiUU8fRL26CqLP7+c= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3 h1:OTJo6PzE8F0EtvBsBvXKVqSA8eCm1uzN+aWwV5gtjPs= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.3/go.mod h1:fn0eOOINlOdQSOWptENC92MpPorB7dHzZaC3VTAmiQY= -github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3 h1:MA0tiuQo69AhaMh8TgEMyJwuKKO3UK8PB8W+Fg1YVt4= -github.com/onflow/flow-core-contracts/lib/go/templates v1.10.3/go.mod h1:bXe+VkZmvM3QYGjfizprStRfasLA/7ii7l6+LHP5V1U= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4 h1:tUmbvKlApxfLfguNj9UCvgIB9kxiYqdPbK/IGdKzINQ= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.10.4/go.mod h1:fn0eOOINlOdQSOWptENC92MpPorB7dHzZaC3VTAmiQY= +github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4 h1:CifICeJM0FpOVzmGM328VT7OSJOQ7GRioZTRmSBrMgQ= +github.com/onflow/flow-core-contracts/lib/go/templates v1.10.4/go.mod h1:bXe+VkZmvM3QYGjfizprStRfasLA/7ii7l6+LHP5V1U= github.com/onflow/flow-evm-bridge v0.2.1 h1:S32kk+UV7/COdQZakIMsJw6vxShel0s8lI3FyGFl9jM= github.com/onflow/flow-evm-bridge v0.2.1/go.mod h1:ExhTZax2F+boo13dzT/uAI7rvwewAoz9v+dEXhhFjYg= github.com/onflow/flow-ft/lib/go/contracts v1.1.1 h1:BNbP3CrTIgScpx2NS9snq9XDESFjgXrMXTrwk5H4iSs= diff --git a/utils/unittest/execution_state.go b/utils/unittest/execution_state.go index d7f0607fb70..89d16f24472 100644 --- a/utils/unittest/execution_state.go +++ b/utils/unittest/execution_state.go @@ -23,7 +23,7 @@ const ServiceAccountPrivateKeySignAlgo = crypto.ECDSAP256 const ServiceAccountPrivateKeyHashAlgo = hash.SHA2_256 // Pre-calculated state commitment with root account with the above private key -const GenesisStateCommitmentHex = "3ff353652eebe7d4eaea9eb9ad063e0f3c39c1b9b4e8c98ff50ffe40a9fc661a" +const GenesisStateCommitmentHex = "19ec250023798e68e9350d3a2c061cb75ff99f6737ad430e5250ffa9b10d24ee" var GenesisStateCommitment flow.StateCommitment @@ -87,10 +87,10 @@ func genesisCommitHexByChainID(chainID flow.ChainID) string { return GenesisStateCommitmentHex } if chainID == flow.Testnet { - return "362ff5ad8717c00053b025e40e7eacfd3eb02cae037befe9be68c724f3fe0d2a" + return "f2c9161812991f382bfea0629b80dcef23d53b14512fdb2d02fb892d583b9177" } if chainID == flow.Sandboxnet { - return "5d0bbfdfa9d17ea16062eb8ddd4cb20e4f99977d02fe58523d5b62f41a34b18a" + return "6973ff69c531e6a5219433e5b957afe7a491cda612bdd381fddae8ab5c44526b" } - return "527cf46e35636148a3f88e399c1321cf56c7aecfd67e0f28df52fd21166ca814" + return "1f343ce806f5cf1633f0533980ed7bb734bdf1a34207654b9eea5c8066cc9595" }