FAQ

Important Notes

  • Images on this page are clickable and zoomable.


Quick Start (Remix)

CompilerError: Stack too deep

This issue is caused because of skipping step 5, "Set up the compiler config".

Next Steps:

You need to change the configuration file in remix, as well as enable via-ir to true.

Ensure you complete step 5 (from Quick Start (Remix IDE)) OR copy and paste the following snippet into the textbox below the "Use configuration file" toggle.

smart-contracts/remix-ide/compiler_config.json

Already "verified" TA but ABI Playground does not work

The open and accessible ABI Playground from Oasis Network is a wonderful innovation. Sometimes, however, it can experience minor issues, such as the one seen in the image above.

This issue could happen for many reasons, for example:

  • The Blockchain state might not have changed yet

  • A lot of users might be interacting with ABI Playground at the same time

  • The owner of the Token Authority made an error during the deployment

What can you do to solve the problem?

Option 1: You can use a KRNL Sandbox feature to receive the TA public key by putting in the TA address.

Option 2: This option is a little more complex, but you can call your TA directly through other tools, such as Foundry

ChainID 23295 not found supported etherscan network

As this is another ABI Playground Error, you can follow the same two solutions as the previous issue to resolve the problem:

Option 1 - You can use a KRNL Sandbox feature to receive the TA public key by putting in the TA address.

Option 2 - This option is a little more complex, but you can call your TA directly through other tools, such as Foundry.

[Oasis Faucet] Failed to fund account: Invalid Account

To solve this error, make sure that you have added the Oasis Sapphire Testnet to your MetaMask, then refresh the page one time.

Unable to open Access Token

This issue is likely caused by simple mistakes during the setting process.

Here are the steps that you could follow:

  • While deploying Sample.sol, make sure to use Token Authority "Public Key"

  • While registering on KRNL Platform, make sure to use Token Authority "smart contract address"

To Check?

https://abi-playground.oasis.io/?contractAddress=0x123123123&network=23295

Replace the "0x123123123" from the above URL and paste it on your web browser.

If abi-playground shows error, it potentially means that there are mistakes during the setting up process.

ABI Playground: Invalid Address

As stated in the image, the error is an invalid address.

For this case, the smart contract address has to be "0x123...." and not "<0x123...>".

The issue here are the brackets < and >, by removing them from the URL, you will solve the problem.

Warning: Unused local variable

Please note, this is just a warning statement indicating that there is an unused local variable in the Token Authority contract.

As it is not an error statement, you may proceed.

[Remix IDE] Etherscan Verification Error

The above issue could be caused by a number of reasons:

  • It could be an issue on Etherscan's side, therefore you should try again later.

  • Failure to provide an API key will cause Etherscan to have an error. Include the API key and try again.

  • You may need to refresh your browser and verify again.

[Remix IDE] The Etherscan box is not enabled on Remix IDE

To solve the issue shown in the image above, simply click "Enable?" for Etherscan and then paste your Etherscan API Key.

For more detailed information on this issue, visit the following page:

How to Get Etherscan API Key?

[Remix IDE] "Account" wallet address does not show after connecting MetaMask to Remix IDE

There are several different methods that may solve this issue:

  • By using different supported browser such as: Firefox, Chrome, or Brave

  • By using different wallet address

  • By refreshing the page and reconnecting your wallet

  • By using WalletConnect instead of Injected Provider

Invalid TA address

As stated in the image above, the Token Authority Address is either invalid or does not exist.

Double-check your information, and if it's still showing this error message, check your TA contract through Oasis Explorer, to make sure it has already been deployed on the Oasis Sapphire network.

This link should help:

Oasis Explorer (Sapphire)

[Remix IDE] How can I verify my contract?

You must install the contract verification plugin in the plugin manager.

Make sure you follow Part II: Steps for Smart Contracts step 12 in the Quick Start (Remix IDE) tutorial

Quick Start (Remix IDE)

Error 70102: ___ is not allowed to be executed

This issue is possibly caused by using a different kernel ID from the Quick Start code template.

If you are trying to complete the Quick Start (Remix IDE), you must use kernel ID 337.

Make sure you check Part III: Smart Contract Registration step 3

Quick Start (Remix IDE)

Error 70501: Failed to sign

This bug is likely due to missing some steps from the Quick Start (Remix IDE)

For example:

  • During step 20, you might have used the "TA Contract Address" instead of "TAPublicKeyAddress" as a constructor during the deployment of Sample.sol

  • During step 20, you might select the wrong smart contract for the deployment

  • During "III. Smart Contract Registration" in step 3, you are asked to fill the required values and click "Activate". At this stage, make sure you use your deployed TA Contract Address, not the TA PublicKeyAddress.

RouteScan and/or Blockscout not verified

Don't worry, these components are not mandatory to complete Quick Start setup.

[Remix IDE] Error: Clone Git Repository

This issue could be coming from Remix IDE's end.

The cause of it could be related to the newly added Git Plugin to Remix IDE, which causes an unexpected bug on Git.

Here's one solution process for a temporary debug:

  1. Go to our krnl-toolkit repository on GitHub

  2. Download ZIP from the "krnl-toolkit" code repository

  3. Manually import the "smart-contracts" folder from the repository into Remix IDE.

Once completed, you should be able to resume your progress on the Quick Start.


KRNL Platform

[Smart Contract Registration] "You do not own this Smart Contract."

As shown in the error, the current contract that you have input is not the contract you deployed with your current wallet.

Last updated

Was this helpful?