Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions engine/execution/state/bootstrap/bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
4 changes: 2 additions & 2 deletions insecure/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions insecure/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
4 changes: 2 additions & 2 deletions integration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions integration/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
6 changes: 3 additions & 3 deletions utils/unittest/execution_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
}
Loading