README --target
argument is outdated, and lacking TokenAllowance
instructions for testing ERC20Wrapper
#37
Labels
type:bug
Something isn't working
Context
The README lacks instructions that are required to make the wrapper contracts work on a runtime.
What's wrong
--target
command argument is outdatedsolang version >= 0.3.1 does not accept
substrate
argument anymore.TODO: it should be
--target polkadot
lacking
TokenAllowance
instructions for testing ERC20WrapperContractTrapped
error will occur when testing the functions using zombienet. It returns 6(orNoProvider
) after callingchain_extension
.TODO
For testing
Depending on which runtime, the chain_spec should add in its GenesisConfig:
^ this means the
Native
currency is the only one supported.To be able to define
TokenAllowanceConfig
in the GenesisConfig, addConfig<T>
ofTokenAllowance
inside theconstruct_runtime!
of the parachain. e.g.In production
Call the
tokenAllowance::addSupportedCurrencies()
extrinsic as a root user.The text was updated successfully, but these errors were encountered: