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
Error thrown when a contract account is initialized with too little initialBalance. Example code that triggered this error (in beforeEach):
initialBalance
beforeEach
... const nft_contract = await root.createAndDeploy( root.getSubAccount("nft-contract").accountId, "../../out/main.wasm", { initialBalance: NEAR.parse('3 N').toJSON() } , ); ...
Throws following error which is currently misleading as it reads:
Increasing the balance in the contract code to 100 as below addressed this error:
... const nft_contract = await root.createAndDeploy( root.getSubAccount("nft-contract").accountId, "../../out/main.wasm", { initialBalance: NEAR.parse('100 N').toJSON() } , ); ...
The text was updated successfully, but these errors were encountered:
volovyks
No branches or pull requests
Error thrown when a contract account is initialized with too little
initialBalance
. Example code that triggered this error (inbeforeEach
):Throws following error which is currently misleading as it reads:
Increasing the balance in the contract code to 100 as below addressed this error:
The text was updated successfully, but these errors were encountered: