update codeblock in trace component
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user