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

Fail precheck with status #2

Open
adrianteoyc opened this issue Jun 17, 2023 · 1 comment
Open

Fail precheck with status #2

adrianteoyc opened this issue Jun 17, 2023 · 1 comment

Comments

@adrianteoyc
Copy link

Using the latest code from https://codesandbox.io/s/hedera-example-contract-mint-associate-transfer-hts-li7cz?file=/index.js:0-6366, using .env keys provided in this github repo with packages
"dependencies": {
"@hashgraph/sdk": "^2.26.0",
"dotenv": "^14.3.2",
"solc": "^0.8.20"
},
Uncommented STEP 3 and beyond in the code.
Tried to run it but received this error

STEP 1 ===================================

  • Done

STEP 2 ===================================
D:....\hedera-contract-mint-associate-transfer-hts-main\node_modules@hashgraph\sdk\lib\PrecheckStatusError.cjs:23
super(props, transaction ${props.transactionId.toString()} failed precheck with status ${props.status.toString()});
^

Appreciate any help on this. Thanks.

@adrianteoyc
Copy link
Author

// client.setDefaultMaxTransactionFee(new Hbar(100));
// client.setMaxQueryPayment(new Hbar(50));

are both uncommented out.

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

No branches or pull requests

1 participant