Skip to content

Commit

Permalink
Upgrade flow-go to include bootstrapping with NFT and Metadata Views (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
janezpodhostnik authored Jul 18, 2023
1 parent 91814c2 commit ceba8ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 24 deletions.
18 changes: 0 additions & 18 deletions emulator/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@ func NewCommonContracts(chain flowgo.Chain) []ContractDescription {
Description: "💵 FUSD contract",
Source: fusd.FUSD(ftAddress.String()),
},
{
Name: "NonFungibleToken",
Address: serviceAddress,
Description: "✨ NFT contract",
Source: contracts.NonFungibleToken(),
},
{
Name: "ViewResolver",
Address: serviceAddress,
Description: "✨ Metadata views contract",
Source: contracts.Resolver(),
},
{
Name: "MetadataViews",
Address: serviceAddress,
Description: "✨ Metadata views contract",
Source: contracts.MetadataViews(ftAddress, serviceAddress),
},
{
Name: "ExampleNFT",
Address: serviceAddress,
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/onflow/cadence v0.39.14
github.com/onflow/flow-archive v1.3.4-0.20230503192214-9e81e82d4dcc
github.com/onflow/flow-go v0.31.1-0.20230712191318-82d6e5f45ca1
github.com/onflow/flow-go v0.31.1-0.20230718164039-e3411eff1e9d
github.com/onflow/flow-go-sdk v0.41.9
github.com/onflow/flow-go/crypto v0.24.7
github.com/onflow/flow-nft/lib/go/contracts v1.1.0
Expand Down Expand Up @@ -107,7 +107,7 @@ require (
github.com/multiformats/go-multistream v0.4.1 // indirect
github.com/multiformats/go-varint v0.0.7 // indirect
github.com/onflow/atree v0.6.0 // indirect
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.3 // indirect
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20230703193002-53362441b57d // indirect
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.3 // indirect
github.com/onflow/flow-ft/lib/go/contracts v0.7.0 // indirect
github.com/onflow/sdks v0.5.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -679,14 +679,14 @@ github.com/onflow/cadence v0.39.14 h1:YoR3YFUga49rqzVY1xwI6I2ZDBmvwGh13jENncsleC
github.com/onflow/cadence v0.39.14/go.mod h1:OIJLyVBPa339DCBQXBfGaorT4tBjQh9gSKe+ZAIyyh0=
github.com/onflow/flow-archive v1.3.4-0.20230503192214-9e81e82d4dcc h1:C4ZniFeOv+pHlDLJdGc/4e3NklSjVuvaXKN47980gnY=
github.com/onflow/flow-archive v1.3.4-0.20230503192214-9e81e82d4dcc/go.mod h1:UPsvKk/37Atosif4wlBl3gsLbGJyGpdXYpXDsWtMVBE=
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.3 h1:wV+gcgOY0oJK4HLZQYQoK+mm09rW1XSxf83yqJwj0n4=
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.3/go.mod h1:Osvy81E/+tscQM+d3kRFjktcIcZj2bmQ9ESqRQWDEx8=
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20230703193002-53362441b57d h1:B7PdhdUNkve5MVrekWDuQf84XsGBxNZ/D3x+QQ8XeVs=
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20230703193002-53362441b57d/go.mod h1:xAiV/7TKhw863r6iO3CS5RnQ4F+pBY1TxD272BsILlo=
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.3 h1:X25A1dNajNUtE+KoV76wQ6BR6qI7G65vuuRXxDDqX7E=
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.3/go.mod h1:dqAUVWwg+NlOhsuBHex7bEWmsUjsiExzhe/+t4xNH6A=
github.com/onflow/flow-ft/lib/go/contracts v0.7.0 h1:XEKE6qJUw3luhsYmIOteXP53gtxNxrwTohgxJXCYqBE=
github.com/onflow/flow-ft/lib/go/contracts v0.7.0/go.mod h1:kTMFIySzEJJeupk+7EmXs0EJ6CBWY/MV9fv9iYQk+RU=
github.com/onflow/flow-go v0.31.1-0.20230712191318-82d6e5f45ca1 h1:/3i/TSa5O08P1+kmCq0OPIvNGevmf3glvBps89m5AKU=
github.com/onflow/flow-go v0.31.1-0.20230712191318-82d6e5f45ca1/go.mod h1:QlfP48hnJtB4+UBC/IGB/ESP+E8eMoblcdx4pAPXUT0=
github.com/onflow/flow-go v0.31.1-0.20230718164039-e3411eff1e9d h1:TgMEd1i/81na3uw3Dns70nCe2haB7XL+jHJzmbjypCM=
github.com/onflow/flow-go v0.31.1-0.20230718164039-e3411eff1e9d/go.mod h1:HWgs3rrr4dnCtI0vX0JUfeNyRb8+EhNVOH8A0Z7eMuw=
github.com/onflow/flow-go-sdk v0.24.0/go.mod h1:IoptMLPyFXWvyd9yYA6/4EmSeeozl6nJoIv4FaEMg74=
github.com/onflow/flow-go-sdk v0.41.9 h1:cyplhhhc0RnfOAan2t7I/7C9g1hVGDDLUhWj6ZHAkk4=
github.com/onflow/flow-go-sdk v0.41.9/go.mod h1:e9Q5TITCy7g08lkdQJxP8fAKBnBoC5FjALvUKr36j4I=
Expand Down

0 comments on commit ceba8ac

Please sign in to comment.