aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-10-26 14:18:04 +0800
committerAugust Skare <post@augustskare.no>2018-10-26 14:18:04 +0800
commite3c0363db1fe07d8933f9ed219282c2b6e581cd6 (patch)
tree0e24d00f6baad6b31a9d7b64121797e35f5a5550 /packages
parent3fdc6e5e477c496aed8bf31866d1aefc0a6816a0 (diff)
downloaddexon-0x-contracts-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.gz
dexon-0x-contracts-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.zst
dexon-0x-contracts-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.zip
update codeblock in trace component
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-tools-pages/ts/components/Trace.tsx12
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/dev-tools-pages/ts/components/Trace.tsx b/packages/dev-tools-pages/ts/components/Trace.tsx
index db3846256..3b272ce98 100644
--- a/packages/dev-tools-pages/ts/components/Trace.tsx
+++ b/packages/dev-tools-pages/ts/components/Trace.tsx
@@ -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>