Fabio Berger
6dff24906e
Fix network badges for V1 and add them for V2
2018-09-28 11:05:13 +01:00
Fabio Berger
398b292636
Add more basic types
2018-09-28 11:04:51 +01:00
Fabio Berger
545472a38f
Fix section headers
2018-09-28 10:50:55 +01:00
Fabio Berger
28f5cd0641
Only add Stucts section if there are any
2018-09-28 10:30:24 +01:00
Fabio Berger
144561c53b
Fix missing devdoc comments in output by fixing improper encoding of methodSignatures
2018-09-28 10:28:57 +01:00
Jacob Evans
a737cfa004
Merge pull request #1090 from 0xProject/bug/contract-wrappers/handle-revert-with-reason
...
[contract-wrappers] Test revert with reason when decoding call result
2018-09-28 00:21:15 +00:00
Jacob Evans
21f6072186
Handle revert with reason when decoding call result
...
We use in-process ganache which throws on an RPC error. This means all of our tests get a nice revert error thrown when testing against ganache. This is not possible with RPC providers and a revert with reason result is returned. Our callAsync doesn't handle this and attempts to decode the revert with reason error log as a successful log, which results in an error while decoding.
This only works with our fork of ethers https://github.com/ethers-io/ethers.js/pull/188 and will need to be re-worked when updating to Ethers.js 4
2018-09-28 09:59:58 +10:00
Alex Browne
94badedad4
Remove yarn postinstall hack ( #1098 )
2018-09-27 15:34:01 -07:00
Fabio Berger
8531f52456
Switch over remaining usage of sections.types for typeSectionName
2018-09-27 23:32:29 +01:00
Fabio Berger
092b184f45
Fix linter
2018-09-27 23:30:11 +01:00
Fabio Berger
b2ff7bda02
Explain cast to any
2018-09-27 23:24:05 +01:00
Fabio Berger
e0ff3484cf
Improve switch case
2018-09-27 23:20:21 +01:00
Fabio Berger
95e84aae49
Improve comment
2018-09-27 23:18:32 +01:00
Fabio Berger
338b7d2ec0
Alphabetize
2018-09-27 23:16:55 +01:00
Fabio Berger
37ab789e84
Remove excessive type
2018-09-27 23:14:34 +01:00
Fabio Berger
957af23a64
Include structs section so that we can render struct params/return values properly with a popover
2018-09-27 23:02:12 +01:00
Fabio Berger
d4077ae970
Fix linter
2018-09-27 23:01:12 +01:00
Fabio Berger
17d4b467d4
Only show arguments if the params are named (i.e not generated getters)
2018-09-27 23:00:25 +01:00
Fabio Berger
ac878d8fdb
Improve keys
2018-09-27 23:00:01 +01:00
Fabio Berger
ac04dbf7e4
Re-use interface component for rendering structs but label it differently
2018-09-27 19:50:02 +01:00
Fabio Berger
cfddea931d
Make sure basic solidity types are colored orange
2018-09-27 19:49:07 +01:00
Fabio Berger
a6672e0190
Don't render colon for auto-generated getters
2018-09-27 19:43:10 +01:00
Fabio Berger
5347bf587f
Render fallback functions better
2018-09-27 18:55:01 +01:00
Fabio Berger
63ffdb3895
Improve key
2018-09-27 18:52:51 +01:00
Fabio Berger
e7b1374f23
Fix dropdown menu item so it says "0x smart contracts" not "smart contract"
2018-09-27 18:52:37 +01:00
Fabio Berger
ceff5c9c2b
Rename for clarity
2018-09-27 18:52:14 +01:00
Fabio Berger
dddfe8ae50
Add typeSectionName to docsInfo so we don't use hard-coded "Types"
2018-09-27 18:51:30 +01:00
Fabio Berger
c0498944c3
Add more robust key
2018-09-27 18:40:38 +01:00
Fabio Berger
5cc11912a7
Pull in only contracts we want rendered on the doc page
2018-09-27 18:39:27 +01:00
Leonid Logvinov
bf3795d2ac
Merge pull request #1097 from 0xProject/feature/export-expiration-watcher
...
Export ExpirationWatcher from OrderWatcher
2018-09-27 12:53:36 +02:00
Leonid Logvinov
bc48bc99c3
Add PR number
2018-09-27 12:53:05 +02:00
Leonid Logvinov
51bfd1ca5e
Export ExpirationWatcher from OrderWatcher
2018-09-27 12:48:48 +02:00
Leonid Logvinov
9160cd4983
Merge pull request #1069 from 0xProject/feature/ts-ethers
...
Upgrade to TS version of ethers
2018-09-27 12:47:00 +02:00
Fabio Berger
c55a419178
Split _genMethodDoc into it and _genFallbackDoc for clarity. Add isFallback boolean
2018-09-27 10:57:42 +01:00
Leonid Logvinov
63d79faa85
Fix linter errors
2018-09-27 11:51:11 +02:00
Fabio Berger
70e412e375
Merge pull request #1096 from 0xProject/fixIsValidECSignature
...
Add address normalization to isValidECSignature method
2018-09-27 10:29:18 +01:00
Leonid Logvinov
a51919db0e
Remove ethers.js carret as it's a beta version
2018-09-27 11:24:03 +02:00
Leonid Logvinov
60971be35a
Throw revert reasons from contract wrappers
2018-09-27 11:21:47 +02:00
Leonid Logvinov
cb99ebf78a
Throw revert reasons from contract wrappers
2018-09-27 11:21:39 +02:00
Fabio Berger
6f02a3f40d
Fix PR nr
2018-09-27 10:05:04 +01:00
Fabio Berger
0591f1d32a
Add address normalization to isValidECSignature method
2018-09-27 10:03:54 +01:00
Fabio Berger
1402119c84
Remove RC version warnings
2018-09-26 22:48:30 +01:00
Francesco Agosti
a162281529
Merge pull request #1094 from 0xProject/feature/website/coinbase-wallet-portal-fixes-and-clay-title
...
[website] Use coinbase wallet instead of Toshi, fix portal layout, update Clay's title
2018-09-26 18:20:06 +02:00
F. Eugene Aumson
8c18a8fefc
Merge pull request #1093 from feuGeneA/sol-doc-fixes
...
[sol-doc] fixes
2018-09-26 12:16:33 -04:00
fragosti
48f6452c3b
remove items-center classname
2018-09-26 17:58:48 +02:00
fragosti
bd002caadd
Change clay to Ecosystem Development Lead
2018-09-26 17:56:09 +02:00
fragosti
d6090921a8
Update everything to Coinbase Wallet instead of Toshi
2018-09-26 17:55:40 +02:00
Francesco Agosti
78a693e092
Merge pull request #1088 from 0xProject/fix/website/relayers-column
...
[website] When number of relayers is less than number of columns, reduce column…
2018-09-26 17:40:12 +02:00
F. Eugene Aumson
3f61d27656
fix: add bin file for sol-doc cli
2018-09-26 11:28:53 -04:00
F. Eugene Aumson
30525d15f4
Merge pull request #1004 from feuGeneA/sol-doc
...
[ethereum-types, react-docs, sol-compiler, sol-doc, types, typescript-typings, website] Add new Solidity documentation generation utility
2018-09-26 10:15:53 -04:00