Closed HyunggyuJang closed 1 year ago
@HyunggyuJang could you please share details/examples to explain impact of your changes? I took the json schema from some sort of official source - https://github.com/paritytech/ink/blob/master/crates/metadata/ink-v3-schema.json#L220 - is ink's schema invalid?
Yes, I think so. https://github.com/AstarNetwork/wasm-showcase-dapps/blob/main/uniswap-v2/contracts/pair/lib.rs is an example at my hand, and indeed all dispatchKey are string as far as know (at least for all contracts in that repo).
Thanks for guiding me to parity’s repo, @tmcgroul. Think I should make an issue or PR in that repo also.
Just note that, with the up-to-date schema file, the one from your template is also invalid.
Like cell's key, dispatchKey is always string type.