We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Passing some ethers along the contract create transaction (e.g. https://github.com/oasisprotocol/demo-quiz/blob/3c6c15038f75fc96bf706a7a0d5ecdbca3b6f46d/backend/test/Quiz.ts#L9-L11) fails with out of gas error on sapphire networks:
out of gas
Hardcoding the gas limit to 10M worked:
Also, not sending any ethers along estimates fine:
Works fine on emerald and hardhat node.
Run sapphire-localnet:
docker run -it -p8545:8545 -p8546:8546 ghcr.io/oasisprotocol/sapphire-localnet -test-mnemonic
Check out https://github.com/oasisprotocol/demo-quiz/ and do
cd backend pnpm test -- --network sapphire-localnet
Contract deployment fails.
Contract should be deployed and funded.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SUMMARY
Passing some ethers along the contract create transaction (e.g. https://github.com/oasisprotocol/demo-quiz/blob/3c6c15038f75fc96bf706a7a0d5ecdbca3b6f46d/backend/test/Quiz.ts#L9-L11) fails with
out of gas
error on sapphire networks:Hardcoding the gas limit to 10M worked:
Also, not sending any ethers along estimates fine:
Works fine on emerald and hardhat node.
ISSUE TYPE
STEPS TO REPRODUCE
Run sapphire-localnet:
Check out https://github.com/oasisprotocol/demo-quiz/ and do
ACTUAL RESULTS
Contract deployment fails.
EXPECTED RESULTS
Contract should be deployed and funded.
The text was updated successfully, but these errors were encountered: