diff options
author | August Skare <post@augustskare.no> | 2018-10-26 14:18:04 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-10-26 14:18:04 +0800 |
commit | e3c0363db1fe07d8933f9ed219282c2b6e581cd6 (patch) | |
tree | 0e24d00f6baad6b31a9d7b64121797e35f5a5550 /packages/dev-tools-pages | |
parent | 3fdc6e5e477c496aed8bf31866d1aefc0a6816a0 (diff) | |
download | dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.gz dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.bz2 dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.lz dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.xz dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.tar.zst dexon-sol-tools-e3c0363db1fe07d8933f9ed219282c2b6e581cd6.zip |
update codeblock in trace component
Diffstat (limited to 'packages/dev-tools-pages')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Trace.tsx | 12 |
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> |