Skip to content

Passing a string through the scilla_call precompile causes the txn to fail #2163

@rrw-zilliqa

Description

@rrw-zilliqa
  • Write a scilla transition which takes a string (in this case '/ipfs/something').
  • Try to call this via the scilla call precompile.
  • Observe the txn fails

(the ERC721 EVM proxy is a good example of this).

This is because we try to encode the string as a series of bytes and then attempt to parse it as JSON, discover it isn't valid JSON and fault out.

Metadata

Metadata

Assignees

Labels

AgateRequired for mainnet launch

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions