update codeblock in trace component

This commit is contained in:
August Skare
2018-10-26 08:18:04 +02:00
parent 3fdc6e5e47
commit e3c0363db1

View File

@@ -61,7 +61,17 @@ function Trace(props: Props) {
Sol-trace will give you full stack traces, including contract names, line numbers and code
snippets, every time you encounter an error.
</MainCopy>
<Code light>Error: VM Exception while processing transaction: rever</Code>
<Code light language="javascript">
{`contracts/src/2.0.0/protocol/Exchange/MixinSignatureValidator.sol:51:8
require(
isValidSignature(
hash,
signerAddress,
signature
),
"INVALID_SIGNATURE"
)`}
</Code>
<List>
<Item>