Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subql publish command error #1534

Closed
tolgaisik opened this issue Mar 1, 2023 Discussed in #1533 · 7 comments · Fixed by #1546
Closed

subql publish command error #1534

tolgaisik opened this issue Mar 1, 2023 Discussed in #1533 · 7 comments · Fixed by #1546

Comments

@tolgaisik
Copy link

Discussed in #1533

Originally posted by tolgaisik March 1, 2023
Error: Unable to pass project manifest on subql publish command. darwind arm64. here is my project.yaml file.

`specVersion: "1.0.0"

name: "land-sale-subql"
version: "0.0.1"
runner:
node:
name: "@subql/node-avalanche"
version: ""
query:
name: "@subql/query"
version: "
"
description: "Subquery indexing project for Land Sale Contracts"
repository: "https://github.com/land-sale-subql"

schema:
file: "./schema.graphql"

network:
chainId: "fuji"
subnet: "2KV1ighhTjNpuQq8BVgHeJF3QHdF3KxhY9AqB9M1GfUuBCKjNo"
endpoint: "https://testnet.avax-subnet.com"
dataSources:

  • kind: avalanche/Runtime
    startBlock: 29900
    options:
    abi: LandToken
    address: "0x39CcF06229eCD78AAb8b42c2ecD3d43A8D6cD925"
    assets:
    LandToken:
    file: "./abis/LandToken.json"
    mapping:
    file: "./dist/index.js"
    handlers:
    - handler: handleTransfer
    kind: avalanche/LogHandler
    filter:
    topics:
    - Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
    `
@bz888
Copy link
Contributor

bz888 commented Mar 2, 2023

if you set both query and nodeversion to "*" does it change anything ?

@tolgaisik
Copy link
Author

it is already "*". it does not show up here for some reason.

@bz888
Copy link
Contributor

bz888 commented Mar 4, 2023

are you running subql publish -f <path to project.yaml> ?

@tolgaisik
Copy link
Author

yes i tried with -f manifest file

@bz888
Copy link
Contributor

bz888 commented Mar 5, 2023

are you able to provide a little more information

  • the version @subql/cli you are using
  • the OS you are using
  • if possible, share the project (or an example project)
    so i can attempt to replicate this on my side

@tolgaisik
Copy link
Author

@defikintaro

@tolgaisik
Copy link
Author

node --version
v16.16.0
subql -v
@subql/cli/1.11.0 darwin-arm64 node-v16.16.0

here is a link to project
https://github.com/tolgaisik/avax-subql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants