Skip to content

Commit

Permalink
core(launchpad): Restore marketplace whitelist code and ipfs VerifyPi…
Browse files Browse the repository at this point in the history
…nned code
  • Loading branch information
WaDadidou committed Dec 19, 2024
1 parent f7b7a6e commit c845420
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions go/pkg/launchpad/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ func (s *Launchpad) UploadMetadatas(ctx context.Context, req *launchpadpb.Upload
}

// Check pinning
// pinningSrv, err := NewPinningService(Pinata, pinataJwt)
// if err != nil {
// return nil, errors.Wrap(err, "failed to get pinning service")
// }

// if _, err := pinningSrv.VerifyPinned(pinnedCIDs...); err != nil {
// return nil, errors.Wrap(err, "failed to verify pinned images")
// }
pinningSrv, err := NewPinningService(Pinata, pinataJwt)
if err != nil {
return nil, errors.Wrap(err, "failed to get pinning service")
}

if _, err := pinningSrv.VerifyPinned(pinnedCIDs...); err != nil {
return nil, errors.Wrap(err, "failed to verify pinned images")
}

// Check if all files have been pinned correctly
for _, metadataItem := range req.Metadatas {
Expand Down
4 changes: 2 additions & 2 deletions packages/networks/teritori-testnet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const cosmwasmNftLaunchpadFeature: CosmWasmNFTLaunchpad = {
type: NetworkFeature.CosmWasmNFTLaunchpad,
launchpadContractAddress:
"tori1te7ku4de0k4rl8lhyuvpmhygaq7k7vy5zpsjq9y638efxsnx3aaqck2utf",
launchpadEndpoint: "https://dapp-backend.testnet.teritori.com",
launchpadEndpoint: "http://192.168.10.121:9080",
nftTr721CodeId: 60,
codeId: 71,
defaultMintDenom: "utori",
Expand Down Expand Up @@ -88,7 +88,7 @@ export const teritoriTestnetNetwork: CosmosNetworkInfo = {
"https://explorer.teritori.com/teritori-testnet/account/$address",
idPrefix: "testori",
testnet: true,
backendEndpoint: "https://dapp-backend.testnet.teritori.com",
backendEndpoint: "http://192.168.1.78:9090",
addressPrefix: "tori",
restEndpoint: "https://rest.testnet.teritori.com",
rpcEndpoint: "https://rpc.testnet.teritori.com",
Expand Down

0 comments on commit c845420

Please sign in to comment.