From 9fcfd2f59e980fde4d24ffe8d270a36877e5dc00 Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Mon, 16 Feb 2026 12:00:53 -0600 Subject: [PATCH] update core contracts version --- engine/execution/state/bootstrap/bootstrap_test.go | 4 ++-- go.mod | 4 ++-- go.sum | 8 ++++---- insecure/go.mod | 4 ++-- insecure/go.sum | 8 ++++---- integration/go.mod | 4 ++-- integration/go.sum | 8 ++++---- utils/unittest/execution_state.go | 6 +++--- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/engine/execution/state/bootstrap/bootstrap_test.go b/engine/execution/state/bootstrap/bootstrap_test.go index c6317825e36..fa2be7086e9 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( - "c1d03618edf9763e72b5ad9415260cf560c43c5a0db292201271ccef75cd503a", + "0c2ac131c07468a64fea735f6f85ef25c2d3de7519d1462f8cbbb4f7de0a6392", ) 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( - "d903575ce35c5aef7a743883f006e610da5f3a93f7a876e2a1471d174450933c", + "263d2ea4588189bfd999f9266438e834559e22ea596f1d367935967a3908bc33", ) expectedStateCommitment, err := flow.ToStateCommitment(expectedStateCommitmentBytes) require.NoError(t, err) diff --git a/go.mod b/go.mod index 48fabde767e..105ee6f91b1 100644 --- a/go.mod +++ b/go.mod @@ -50,8 +50,8 @@ require ( github.com/onflow/cadence v1.9.9 github.com/onflow/crypto v0.25.4 github.com/onflow/flow v0.4.15 - github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2 - github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2 + github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 + github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 github.com/onflow/flow-go-sdk v1.9.15 github.com/onflow/flow/protobuf/go/flow v0.4.19 github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 diff --git a/go.sum b/go.sum index 6c2b0a04879..155d46a714c 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.15 h1:MdrhULSE5iSYNyLCihH8DI4uab5VciVZUKDFON6zylY= github.com/onflow/flow v0.4.15/go.mod h1:lzyAYmbu1HfkZ9cfnL5/sjrrsnJiUU8fRL26CqLP7+c= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2 h1:mkd1NSv74+OnCHwrFqI2c5VETS1j06xf0ZuOto7gMio= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2/go.mod h1:jBDqVep0ICzhXky56YlyO4aiV2Jl/5r7wnqUPpvi7zE= -github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2 h1:semxeVLwC6xFG1G/7egUmaf7F1C8eBnc7NxNTVfBHTs= -github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2/go.mod h1:twSVyUt3rNrgzAmxtBX+1Gw64QlPemy17cyvnXYy1Ug= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 h1:AFl2fKKXhSW0X0KpqBMteQkIJLRjVJzIJzGbMuOGgeE= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3/go.mod h1:hV8Pi5pGraiY8f9k0tAeuky6m+NbIMvxf7wg5QZ+e8k= +github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 h1:b70XytJTPthaLcQJC3neGLZbQGBEw/SvKgYVNUv1JKM= +github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3/go.mod h1:isMJm+rK6U+pZHlet7BL5jlCMPfcCmneTFxLHLVUfuo= github.com/onflow/flow-evm-bridge v0.1.0 h1:7X2osvo4NnQgHj8aERUmbYtv9FateX8liotoLnPL9nM= github.com/onflow/flow-evm-bridge v0.1.0/go.mod h1:5UYwsnu6WcBNrwitGFxphCl5yq7fbWYGYuiCSTVF6pk= github.com/onflow/flow-ft/lib/go/contracts v1.0.1 h1:Ts5ob+CoCY2EjEd0W6vdLJ7hLL3SsEftzXG2JlmSe24= diff --git a/insecure/go.mod b/insecure/go.mod index 51e6553fae0..97b21db0493 100644 --- a/insecure/go.mod +++ b/insecure/go.mod @@ -218,8 +218,8 @@ require ( github.com/onflow/atree v0.12.1 // indirect github.com/onflow/cadence v1.9.9 // indirect github.com/onflow/fixed-point v0.1.1 // indirect - github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2 // indirect - github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2 // indirect + github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 // indirect + github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 // indirect github.com/onflow/flow-evm-bridge v0.1.0 // indirect github.com/onflow/flow-ft/lib/go/contracts v1.0.1 // indirect github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect diff --git a/insecure/go.sum b/insecure/go.sum index 4ac43ecd0de..d1339e77ae8 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.9.2 h1:mkd1NSv74+OnCHwrFqI2c5VETS1j06xf0ZuOto7gMio= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2/go.mod h1:jBDqVep0ICzhXky56YlyO4aiV2Jl/5r7wnqUPpvi7zE= -github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2 h1:semxeVLwC6xFG1G/7egUmaf7F1C8eBnc7NxNTVfBHTs= -github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2/go.mod h1:twSVyUt3rNrgzAmxtBX+1Gw64QlPemy17cyvnXYy1Ug= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 h1:AFl2fKKXhSW0X0KpqBMteQkIJLRjVJzIJzGbMuOGgeE= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3/go.mod h1:hV8Pi5pGraiY8f9k0tAeuky6m+NbIMvxf7wg5QZ+e8k= +github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 h1:b70XytJTPthaLcQJC3neGLZbQGBEw/SvKgYVNUv1JKM= +github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3/go.mod h1:isMJm+rK6U+pZHlet7BL5jlCMPfcCmneTFxLHLVUfuo= github.com/onflow/flow-evm-bridge v0.1.0 h1:7X2osvo4NnQgHj8aERUmbYtv9FateX8liotoLnPL9nM= github.com/onflow/flow-evm-bridge v0.1.0/go.mod h1:5UYwsnu6WcBNrwitGFxphCl5yq7fbWYGYuiCSTVF6pk= github.com/onflow/flow-ft/lib/go/contracts v1.0.1 h1:Ts5ob+CoCY2EjEd0W6vdLJ7hLL3SsEftzXG2JlmSe24= diff --git a/integration/go.mod b/integration/go.mod index e6bed2970a0..d867c4a8194 100644 --- a/integration/go.mod +++ b/integration/go.mod @@ -23,8 +23,8 @@ require ( github.com/onflow/cadence v1.9.9 github.com/onflow/crypto v0.25.4 github.com/onflow/flow v0.4.15 - github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2 - github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2 + github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 + github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 github.com/onflow/flow-go v0.38.0-preview.0.0.20241021221952-af9cd6e99de1 github.com/onflow/flow-go-sdk v1.9.15 github.com/onflow/flow-go/insecure v0.0.0-00010101000000-000000000000 diff --git a/integration/go.sum b/integration/go.sum index 7b58f246882..4e9b1390292 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.15 h1:MdrhULSE5iSYNyLCihH8DI4uab5VciVZUKDFON6zylY= github.com/onflow/flow v0.4.15/go.mod h1:lzyAYmbu1HfkZ9cfnL5/sjrrsnJiUU8fRL26CqLP7+c= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2 h1:mkd1NSv74+OnCHwrFqI2c5VETS1j06xf0ZuOto7gMio= -github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.2/go.mod h1:jBDqVep0ICzhXky56YlyO4aiV2Jl/5r7wnqUPpvi7zE= -github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2 h1:semxeVLwC6xFG1G/7egUmaf7F1C8eBnc7NxNTVfBHTs= -github.com/onflow/flow-core-contracts/lib/go/templates v1.9.2/go.mod h1:twSVyUt3rNrgzAmxtBX+1Gw64QlPemy17cyvnXYy1Ug= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3 h1:AFl2fKKXhSW0X0KpqBMteQkIJLRjVJzIJzGbMuOGgeE= +github.com/onflow/flow-core-contracts/lib/go/contracts v1.9.3/go.mod h1:hV8Pi5pGraiY8f9k0tAeuky6m+NbIMvxf7wg5QZ+e8k= +github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3 h1:b70XytJTPthaLcQJC3neGLZbQGBEw/SvKgYVNUv1JKM= +github.com/onflow/flow-core-contracts/lib/go/templates v1.9.3/go.mod h1:isMJm+rK6U+pZHlet7BL5jlCMPfcCmneTFxLHLVUfuo= github.com/onflow/flow-evm-bridge v0.1.0 h1:7X2osvo4NnQgHj8aERUmbYtv9FateX8liotoLnPL9nM= github.com/onflow/flow-evm-bridge v0.1.0/go.mod h1:5UYwsnu6WcBNrwitGFxphCl5yq7fbWYGYuiCSTVF6pk= github.com/onflow/flow-ft/lib/go/contracts v1.0.1 h1:Ts5ob+CoCY2EjEd0W6vdLJ7hLL3SsEftzXG2JlmSe24= diff --git a/utils/unittest/execution_state.go b/utils/unittest/execution_state.go index 3ce5b686801..f4ea2ca74b3 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 = "fde57dd2df895dcf46427834da2bbee8f99ce0f8ee6775e8e9519430fd89d059" +const GenesisStateCommitmentHex = "47ff2d7883e0ec05027935cf9058523f630cb9f1880e7289c89d8cdf266e8a47" var GenesisStateCommitment flow.StateCommitment @@ -87,10 +87,10 @@ func genesisCommitHexByChainID(chainID flow.ChainID) string { return GenesisStateCommitmentHex } if chainID == flow.Testnet { - return "7b2d2802e472b41d30f6c9e8d9bcb14fd9c35993eb8a783b064cf90474e63a6d" + return "2fa386f675c52a23e6d165a695b98b822cef5b280e88bfdfd5a58ca026ab4cce" } if chainID == flow.Sandboxnet { return "e1c08b17f9e5896f03fe28dd37ca396c19b26628161506924fbf785834646ea1" } - return "ca30698aea7090a7e191813eb0e9e67fe60de5a968531ff43ad348f2e8cb07df" + return "9a97fdb1bb088bbc77859e8886f2acc76ba47e2ff469c8b0554ca96a150b6a67" }