From d039ba3f6b618c2ab963f9dc89d06cd3fe605ccc Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Thu, 31 Oct 2024 13:24:08 -0500 Subject: [PATCH 1/4] add NFTStorefrontV2 and USDCFlow to bootstrapping --- .../state/bootstrap/bootstrap_test.go | 2 +- fvm/bootstrap.go | 48 +++++++++++++++++++ go.mod | 2 + go.sum | 4 ++ utils/unittest/execution_state.go | 6 +-- 5 files changed, 58 insertions(+), 4 deletions(-) diff --git a/engine/execution/state/bootstrap/bootstrap_test.go b/engine/execution/state/bootstrap/bootstrap_test.go index 5a9d394a5ac..c014e957b0d 100644 --- a/engine/execution/state/bootstrap/bootstrap_test.go +++ b/engine/execution/state/bootstrap/bootstrap_test.go @@ -53,7 +53,7 @@ func TestBootstrapLedger(t *testing.T) { } func TestBootstrapLedger_ZeroTokenSupply(t *testing.T) { - expectedStateCommitmentBytes, _ := hex.DecodeString("6e70a1ff40e4312a547d588a4355a538610bc22844a1faa907b4ec333ff1eca9") + expectedStateCommitmentBytes, _ := hex.DecodeString("50eb71c0391c1e8535dcea1ed2de29b9980436ca9615064e577043eedf632ff0") expectedStateCommitment, err := flow.ToStateCommitment(expectedStateCommitmentBytes) require.NoError(t, err) diff --git a/fvm/bootstrap.go b/fvm/bootstrap.go index 0f3526c8d83..a37d0948461 100644 --- a/fvm/bootstrap.go +++ b/fvm/bootstrap.go @@ -8,6 +8,9 @@ import ( "github.com/onflow/flow-core-contracts/lib/go/contracts" "github.com/onflow/flow-core-contracts/lib/go/templates" + usdc "github.com/onflow/bridged-usdc/lib/go/contracts" + storefront "github.com/onflow/nft-storefront/lib/go/contracts" + "github.com/onflow/flow-go/fvm/blueprints" "github.com/onflow/flow-go/fvm/environment" "github.com/onflow/flow-go/fvm/errors" @@ -370,6 +373,12 @@ func (b *bootstrapExecutor) Execute() error { b.deployMetadataViews(fungibleToken, nonFungibleToken, &env) b.deployFungibleTokenSwitchboard(fungibleToken, &env) + // deploys the USDCFlow smart contract + b.deployUSDCFlow(fungibleToken, &env) + + // deploys the NFTStorefrontV2 contract + b.deployNFTStorefrontV2(nonFungibleToken, &env) + flowToken := b.deployFlowToken(service, &env) err = expectAccounts(systemcontracts.FlowTokenAccountIndex) if err != nil { @@ -731,6 +740,45 @@ func (b *bootstrapExecutor) deployServiceAccount(deployTo flow.Address, env *tem panicOnMetaInvokeErrf("failed to deploy service account contract: %s", txError, err) } +func (b *bootstrapExecutor) deployNFTStorefrontV2(deployTo flow.Address, env *templates.Environment) { + + contract := storefront.NFTStorefrontV2( + env.FungibleTokenAddress, + env.NonFungibleTokenAddress) + + txError, err := b.invokeMetaTransaction( + b.ctx, + Transaction( + blueprints.DeployContractTransaction( + deployTo, + contract, + "NFTStorefrontV2"), + 0), + ) + panicOnMetaInvokeErrf("failed to deploy NFTStorefrontV2 contract: %s", txError, err) +} + +func (b *bootstrapExecutor) deployUSDCFlow(deployTo flow.Address, env *templates.Environment) { + + contract := usdc.USDCFlowBasic( + env.FungibleTokenAddress, + env.MetadataViewsAddress, + env.FungibleTokenMetadataViewsAddress, + env.ViewResolverAddress, + env.BurnerAddress) + + txError, err := b.invokeMetaTransaction( + b.ctx, + Transaction( + blueprints.DeployContractTransaction( + deployTo, + contract, + "USDCFlow"), + 0), + ) + panicOnMetaInvokeErrf("failed to deploy USDCFlow contract: %s", txError, err) +} + func (b *bootstrapExecutor) mintInitialTokens( service, fungibleToken, flowToken flow.Address, initialSupply cadence.UFix64, diff --git a/go.mod b/go.mod index a03092b7abd..ff503f4a771 100644 --- a/go.mod +++ b/go.mod @@ -106,6 +106,7 @@ require ( github.com/huandu/go-clone/generic v1.7.2 github.com/ipfs/boxo v0.17.1-0.20240131173518-89bceff34bf1 github.com/mitchellh/mapstructure v1.5.0 + github.com/onflow/bridged-usdc/lib/go/contracts v0.0.0-20241031171244-21575ddc23e0 github.com/onflow/go-ethereum v1.14.7 github.com/onflow/wal v1.0.2 github.com/slok/go-http-metrics v0.10.0 @@ -257,6 +258,7 @@ require ( github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect github.com/onflow/flow-nft/lib/go/contracts v1.2.2 // indirect github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect + github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 // indirect github.com/onflow/sdks v0.6.0-preview.1 // indirect github.com/onsi/ginkgo v1.16.5 // indirect github.com/onsi/ginkgo/v2 v2.13.2 // indirect diff --git a/go.sum b/go.sum index 899fabb2080..9fa0fcba37a 100644 --- a/go.sum +++ b/go.sum @@ -908,6 +908,8 @@ github.com/onflow/boxo v0.0.0-20240201202436-f2477b92f483 h1:LpiQhTAfM9CAmNVEs0n github.com/onflow/boxo v0.0.0-20240201202436-f2477b92f483/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= github.com/onflow/cadence v1.3.0 h1:COTlTqUACtTvOeFe7+jP9UDVEU3M3OZzrbzzsEbyqCk= github.com/onflow/cadence v1.3.0/go.mod h1:638c9Zy25EwflSEE7tBFAVM9N6uwcWt77sgKpyYfSTc= +github.com/onflow/bridged-usdc/lib/go/contracts v0.0.0-20241031171244-21575ddc23e0 h1:XgYxjWGPhMBzKUgbWEvzKFH/DZRffy5EOjv/1G/1mVA= +github.com/onflow/bridged-usdc/lib/go/contracts v0.0.0-20241031171244-21575ddc23e0/go.mod h1:K4/oaEhhnSuJ9q6fpq1w9WEWRGtkNskhmoyH8t+X9Mk= github.com/onflow/crypto v0.25.2 h1:GjHunqVt+vPcdqhxxhAXiMIF3YiLX7gTuTR5O+VG2ns= github.com/onflow/crypto v0.25.2/go.mod h1:fY7eLqUdMKV8EGOw301unP8h7PvLVy8/6gVR++/g0BY= github.com/onflow/flow v0.3.4 h1:FXUWVdYB90f/rjNcY0Owo30gL790tiYff9Pb/sycXYE= @@ -930,6 +932,8 @@ github.com/onflow/flow/protobuf/go/flow v0.4.7 h1:iP6DFx4wZ3ETORsyeqzHu7neFT3d1C github.com/onflow/flow/protobuf/go/flow v0.4.7/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk= github.com/onflow/go-ethereum v1.14.7 h1:gg3awYqI02e3AypRdpJKEvNTJ6kz/OhAqRti0h54Wlc= github.com/onflow/go-ethereum v1.14.7/go.mod h1:zV14QLrXyYu5ucvcwHUA0r6UaqveqbXaehAVQJlSW+I= +github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 h1:sxyWLqGm/p4EKT6DUlQESDG1ZNMN9GjPCm1gTq7NGfc= +github.com/onflow/nft-storefront/lib/go/contracts v1.0.0/go.mod h1:kMeq9zUwCrgrSojEbTUTTJpZ4WwacVm2pA7LVFr+glk= github.com/onflow/sdks v0.6.0-preview.1 h1:mb/cUezuqWEP1gFZNAgUI4boBltudv4nlfxke1KBp9k= github.com/onflow/sdks v0.6.0-preview.1/go.mod h1:F0dj0EyHC55kknLkeD10js4mo14yTdMotnWMslPirrU= github.com/onflow/wal v1.0.2 h1:5bgsJVf2O3cfMNK12fiiTyYZ8cOrUiELt3heBJfHOhc= diff --git a/utils/unittest/execution_state.go b/utils/unittest/execution_state.go index a5e911b3771..fb12310e358 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 = "c42fc978c2702793d2640e3ed8644ba54db4e92aa5d0501234dfbb9bbc5784fd" +const GenesisStateCommitmentHex = "8a39695626e505a667c1c3d67abab13d30cc6a1a007b4cd6de21c3fbbd51d638" var GenesisStateCommitment flow.StateCommitment @@ -87,10 +87,10 @@ func genesisCommitHexByChainID(chainID flow.ChainID) string { return GenesisStateCommitmentHex } if chainID == flow.Testnet { - return "e29456decb9ee90ad3ed1e1239383c18897b031ea851ff07f5f616657df4d4a0" + return "6de2175363c8136ce966759fcc7a744d1b7f49d0d4dbf9a39970c82e29430b13" } if chainID == flow.Sandboxnet { return "e1c08b17f9e5896f03fe28dd37ca396c19b26628161506924fbf785834646ea1" } - return "e1989abf50fba23015251a313eefe2ceff45639a75252f4da5970dcda32dd95e" + return "cf7a9c80987d0d62b6d3c299fe603617a398def464b71ecb841b9de3b53ba395" } From e2edfb48ef624ae91132ec651654628bf8363bf9 Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Fri, 1 Nov 2024 11:41:15 -0500 Subject: [PATCH 2/4] upgrade usdc to pinned version --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index ff503f4a771..67f88b4de31 100644 --- a/go.mod +++ b/go.mod @@ -106,7 +106,7 @@ require ( github.com/huandu/go-clone/generic v1.7.2 github.com/ipfs/boxo v0.17.1-0.20240131173518-89bceff34bf1 github.com/mitchellh/mapstructure v1.5.0 - github.com/onflow/bridged-usdc/lib/go/contracts v0.0.0-20241031171244-21575ddc23e0 + github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 github.com/onflow/go-ethereum v1.14.7 github.com/onflow/wal v1.0.2 github.com/slok/go-http-metrics v0.10.0 diff --git a/go.sum b/go.sum index 9fa0fcba37a..50011c1603b 100644 --- a/go.sum +++ b/go.sum @@ -908,8 +908,8 @@ github.com/onflow/boxo v0.0.0-20240201202436-f2477b92f483 h1:LpiQhTAfM9CAmNVEs0n github.com/onflow/boxo v0.0.0-20240201202436-f2477b92f483/go.mod h1:pIZgTWdm3k3pLF9Uq6MB8JEcW07UDwNJjlXW1HELW80= github.com/onflow/cadence v1.3.0 h1:COTlTqUACtTvOeFe7+jP9UDVEU3M3OZzrbzzsEbyqCk= github.com/onflow/cadence v1.3.0/go.mod h1:638c9Zy25EwflSEE7tBFAVM9N6uwcWt77sgKpyYfSTc= -github.com/onflow/bridged-usdc/lib/go/contracts v0.0.0-20241031171244-21575ddc23e0 h1:XgYxjWGPhMBzKUgbWEvzKFH/DZRffy5EOjv/1G/1mVA= -github.com/onflow/bridged-usdc/lib/go/contracts v0.0.0-20241031171244-21575ddc23e0/go.mod h1:K4/oaEhhnSuJ9q6fpq1w9WEWRGtkNskhmoyH8t+X9Mk= +github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 h1:ofdfKH8KgY6qVFnlngTontds/IBERANeWl0PBPCtPOA= +github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0/go.mod h1:K4/oaEhhnSuJ9q6fpq1w9WEWRGtkNskhmoyH8t+X9Mk= github.com/onflow/crypto v0.25.2 h1:GjHunqVt+vPcdqhxxhAXiMIF3YiLX7gTuTR5O+VG2ns= github.com/onflow/crypto v0.25.2/go.mod h1:fY7eLqUdMKV8EGOw301unP8h7PvLVy8/6gVR++/g0BY= github.com/onflow/flow v0.3.4 h1:FXUWVdYB90f/rjNcY0Owo30gL790tiYff9Pb/sycXYE= From 60e4c33ef5beeaaa2cbc503fd24db33a37c3ecdc Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Mon, 6 Jan 2025 11:44:03 -0600 Subject: [PATCH 3/4] git pull --- go.mod | 2 +- insecure/go.mod | 1 + insecure/go.sum | 2 ++ integration/go.mod | 1 + integration/go.sum | 2 ++ 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 67f88b4de31..0f631bb9857 100644 --- a/go.mod +++ b/go.mod @@ -108,6 +108,7 @@ require ( github.com/mitchellh/mapstructure v1.5.0 github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 github.com/onflow/go-ethereum v1.14.7 + github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 github.com/onflow/wal v1.0.2 github.com/slok/go-http-metrics v0.10.0 github.com/sony/gobreaker v0.5.0 @@ -258,7 +259,6 @@ require ( github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect github.com/onflow/flow-nft/lib/go/contracts v1.2.2 // indirect github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect - github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 // indirect github.com/onflow/sdks v0.6.0-preview.1 // indirect github.com/onsi/ginkgo v1.16.5 // indirect github.com/onsi/ginkgo/v2 v2.13.2 // indirect diff --git a/insecure/go.mod b/insecure/go.mod index 7e7bf25d493..d24713d0aab 100644 --- a/insecure/go.mod +++ b/insecure/go.mod @@ -212,6 +212,7 @@ require ( github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect github.com/onflow/flow/protobuf/go/flow v0.4.7 // indirect github.com/onflow/go-ethereum v1.14.7 // indirect + github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 // indirect github.com/onflow/sdks v0.6.0-preview.1 // indirect github.com/onflow/wal v1.0.2 // indirect github.com/onsi/ginkgo/v2 v2.13.2 // indirect diff --git a/insecure/go.sum b/insecure/go.sum index aa133d48488..feb881bd9ea 100644 --- a/insecure/go.sum +++ b/insecure/go.sum @@ -871,6 +871,8 @@ github.com/onflow/flow/protobuf/go/flow v0.4.7 h1:iP6DFx4wZ3ETORsyeqzHu7neFT3d1C github.com/onflow/flow/protobuf/go/flow v0.4.7/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk= github.com/onflow/go-ethereum v1.14.7 h1:gg3awYqI02e3AypRdpJKEvNTJ6kz/OhAqRti0h54Wlc= github.com/onflow/go-ethereum v1.14.7/go.mod h1:zV14QLrXyYu5ucvcwHUA0r6UaqveqbXaehAVQJlSW+I= +github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 h1:sxyWLqGm/p4EKT6DUlQESDG1ZNMN9GjPCm1gTq7NGfc= +github.com/onflow/nft-storefront/lib/go/contracts v1.0.0/go.mod h1:kMeq9zUwCrgrSojEbTUTTJpZ4WwacVm2pA7LVFr+glk= github.com/onflow/sdks v0.6.0-preview.1 h1:mb/cUezuqWEP1gFZNAgUI4boBltudv4nlfxke1KBp9k= github.com/onflow/sdks v0.6.0-preview.1/go.mod h1:F0dj0EyHC55kknLkeD10js4mo14yTdMotnWMslPirrU= github.com/onflow/wal v1.0.2 h1:5bgsJVf2O3cfMNK12fiiTyYZ8cOrUiELt3heBJfHOhc= diff --git a/integration/go.mod b/integration/go.mod index ab9fc4febd5..a95f3dada63 100644 --- a/integration/go.mod +++ b/integration/go.mod @@ -245,6 +245,7 @@ require ( github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect github.com/onflow/flow-nft/lib/go/contracts v1.2.2 // indirect github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect + github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 // indirect github.com/onflow/sdks v0.6.0-preview.1 // indirect github.com/onflow/wal v1.0.2 // indirect github.com/onsi/ginkgo/v2 v2.13.2 // indirect diff --git a/integration/go.sum b/integration/go.sum index 0ce6b1985ce..df364e94ea7 100644 --- a/integration/go.sum +++ b/integration/go.sum @@ -749,6 +749,8 @@ github.com/onflow/flow/protobuf/go/flow v0.4.7 h1:iP6DFx4wZ3ETORsyeqzHu7neFT3d1C github.com/onflow/flow/protobuf/go/flow v0.4.7/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk= github.com/onflow/go-ethereum v1.14.7 h1:gg3awYqI02e3AypRdpJKEvNTJ6kz/OhAqRti0h54Wlc= github.com/onflow/go-ethereum v1.14.7/go.mod h1:zV14QLrXyYu5ucvcwHUA0r6UaqveqbXaehAVQJlSW+I= +github.com/onflow/nft-storefront/lib/go/contracts v1.0.0 h1:sxyWLqGm/p4EKT6DUlQESDG1ZNMN9GjPCm1gTq7NGfc= +github.com/onflow/nft-storefront/lib/go/contracts v1.0.0/go.mod h1:kMeq9zUwCrgrSojEbTUTTJpZ4WwacVm2pA7LVFr+glk= github.com/onflow/sdks v0.6.0-preview.1 h1:mb/cUezuqWEP1gFZNAgUI4boBltudv4nlfxke1KBp9k= github.com/onflow/sdks v0.6.0-preview.1/go.mod h1:F0dj0EyHC55kknLkeD10js4mo14yTdMotnWMslPirrU= github.com/onflow/wal v1.0.2 h1:5bgsJVf2O3cfMNK12fiiTyYZ8cOrUiELt3heBJfHOhc= From e7c3957fcaf27fff92b9b3aab618f6510d633839 Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Wed, 22 Jan 2025 14:21:20 -0600 Subject: [PATCH 4/4] tidy --- insecure/go.mod | 1 + insecure/go.sum | 2 ++ integration/go.mod | 1 + integration/go.sum | 2 ++ 4 files changed, 6 insertions(+) diff --git a/insecure/go.mod b/insecure/go.mod index d24713d0aab..de57bbca81c 100644 --- a/insecure/go.mod +++ b/insecure/go.mod @@ -202,6 +202,7 @@ require ( github.com/nxadm/tail v1.4.8 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/onflow/atree v0.8.1 // indirect + github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 // indirect github.com/onflow/cadence v1.3.0 // indirect github.com/onflow/flow-core-contracts/lib/go/contracts v1.4.0 // indirect github.com/onflow/flow-core-contracts/lib/go/templates v1.4.0 // indirect diff --git a/insecure/go.sum b/insecure/go.sum index feb881bd9ea..802abea667a 100644 --- a/insecure/go.sum +++ b/insecure/go.sum @@ -849,6 +849,8 @@ github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onflow/atree v0.8.1 h1:DAnPnL9/Ks3LaAnkQVokokTBG/znTW0DJfovDtJDhLI= github.com/onflow/atree v0.8.1/go.mod h1:FT6udJF9Q7VQTu3wknDhFX+VV4D44ZGdqtTAE5iztck= +github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 h1:ofdfKH8KgY6qVFnlngTontds/IBERANeWl0PBPCtPOA= +github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0/go.mod h1:K4/oaEhhnSuJ9q6fpq1w9WEWRGtkNskhmoyH8t+X9Mk= github.com/onflow/cadence v1.3.0 h1:COTlTqUACtTvOeFe7+jP9UDVEU3M3OZzrbzzsEbyqCk= github.com/onflow/cadence v1.3.0/go.mod h1:638c9Zy25EwflSEE7tBFAVM9N6uwcWt77sgKpyYfSTc= github.com/onflow/crypto v0.25.2 h1:GjHunqVt+vPcdqhxxhAXiMIF3YiLX7gTuTR5O+VG2ns= diff --git a/integration/go.mod b/integration/go.mod index a95f3dada63..f5e20574d20 100644 --- a/integration/go.mod +++ b/integration/go.mod @@ -241,6 +241,7 @@ require ( github.com/multiformats/go-varint v0.0.7 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/onflow/atree v0.8.1 // indirect + github.com/onflow/bridged-usdc/lib/go/contracts v1.0.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 github.com/onflow/flow-nft/lib/go/contracts v1.2.2 // indirect diff --git a/integration/go.sum b/integration/go.sum index df364e94ea7..b439c8f88d8 100644 --- a/integration/go.sum +++ b/integration/go.sum @@ -727,6 +727,8 @@ github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onflow/atree v0.8.1 h1:DAnPnL9/Ks3LaAnkQVokokTBG/znTW0DJfovDtJDhLI= github.com/onflow/atree v0.8.1/go.mod h1:FT6udJF9Q7VQTu3wknDhFX+VV4D44ZGdqtTAE5iztck= +github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 h1:ofdfKH8KgY6qVFnlngTontds/IBERANeWl0PBPCtPOA= +github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0/go.mod h1:K4/oaEhhnSuJ9q6fpq1w9WEWRGtkNskhmoyH8t+X9Mk= github.com/onflow/cadence v1.3.0 h1:COTlTqUACtTvOeFe7+jP9UDVEU3M3OZzrbzzsEbyqCk= github.com/onflow/cadence v1.3.0/go.mod h1:638c9Zy25EwflSEE7tBFAVM9N6uwcWt77sgKpyYfSTc= github.com/onflow/crypto v0.25.2 h1:GjHunqVt+vPcdqhxxhAXiMIF3YiLX7gTuTR5O+VG2ns=