Alex Towle
858ccfa934
Disallow the zero address in MixinAuthorizable
2019-08-02 13:45:12 -07:00
Alex Towle
b4a3218b13
Disallow address zero in Ownable
2019-08-02 13:44:18 -07:00
James Towle
92a4556956
Merge pull request #2020 from jalextowle/feature/contracts/3.0/rewrite-dispatch-transfer-from
...
Rewrite _dispatchTransferFrom with a Solidity implementation
2019-08-02 13:42:36 -07:00
James Towle
bd42c33daa
Merge pull request #2014 from jalextowle/feature/contracts/3.0/utils-unit-tests
...
Added Unit Tests to Utils
2019-08-02 13:42:14 -07:00
Alex Towle
e1796a9f0f
Changed toBN to toBigNumber
2019-08-01 15:39:00 -07:00
Alex Towle
8c5c81fe70
Change all instances of throw to revert in it tests
2019-08-01 15:13:16 -07:00
Alex Towle
bf8fae2025
Update changelog
2019-08-01 14:53:01 -07:00
Alex Towle
7f2b715ceb
Rewrite _dispatchTransferFrom with a Solidity implementation
2019-08-01 14:53:00 -07:00
David Sun
281c207921
Publish
...
- @0x/contracts-asset-proxy@2.2.4
- @0x/contracts-coordinator@2.0.9
- @0x/contracts-dev-utils@0.0.6
- @0x/contracts-exchange-forwarder@3.0.8
- @0x/contracts-exchange@2.1.10
- @0x/contracts-extensions@4.0.4
- @0x/contracts-multisig@3.1.10
2019-07-31 14:14:47 -07:00
David Sun
ae531eef5f
Updated CHANGELOGS
2019-07-31 14:14:35 -07:00
David Sun
d8b11238e6
reverted changelog for packages not published
2019-07-31 14:02:18 -07:00
Alex Towle
77feaec444
Fixed lingering review comments
2019-07-31 13:59:33 -07:00
David Sun
d36eb04ae8
Publish
...
- @0x/contracts-asset-proxy@2.2.4
- @0x/contracts-coordinator@2.0.9
- @0x/contracts-dev-utils@0.0.6
- @0x/contracts-erc1155@1.1.11
- @0x/contracts-erc20@2.2.10
- @0x/contracts-erc721@2.1.11
- @0x/contracts-exchange-forwarder@3.0.8
- @0x/contracts-exchange-libs@3.0.4
- @0x/contracts-exchange@2.1.10
- @0x/contracts-extensions@4.0.4
- @0x/contracts-multisig@3.1.10
- @0x/contracts-test-utils@3.1.12
- @0x/contracts-utils@3.2.0
- 0x.js@6.0.14
- @0x/abi-gen-templates@2.4.0
- @0x/abi-gen-wrappers@5.1.0
- @0x/abi-gen@3.1.2
- @0x/assert@2.1.2
- @0x/asset-buyer@6.1.10
- @0x/asset-swapper@1.0.0
- @0x/base-contract@5.3.0
- @0x/connect@5.0.15
- @0x/contract-artifacts@2.0.3
- @0x/contract-wrappers@10.1.0
- @0x/contracts-gen@1.0.12
- @0x/dev-utils@2.2.6
- @0x/fill-scenarios@3.0.15
- @0x/json-schemas@3.1.12
- @0x/migrations@4.1.11
- @0x/order-utils@8.2.4
- @0x/order-watcher@4.0.16
- @0x/sol-compiler@3.1.11
- @0x/sol-coverage@3.0.8
- @0x/sol-doc@2.0.15
- @0x/sol-profiler@3.1.10
- @0x/sol-trace@2.0.16
- @0x/sol-tracing-utils@6.0.15
- @0x/sra-spec@2.0.13
- @0x/subproviders@5.0.0
- @0x/utils@4.4.2
- @0x/web3-wrapper@6.0.9
2019-07-31 13:36:00 -07:00
David Sun
b97ba35279
Updated CHANGELOGS
2019-07-31 13:35:49 -07:00
Alex Towle
e5b6921de9
Updated Changelog
2019-07-30 15:56:31 -07:00
Alex Towle
3ca3a2820d
Fixed review comments
2019-07-30 15:53:01 -07:00
Lawrence Forman
9f4933e33d
@0x/contracts-test-utils
: Make BlockchainContextDefinition
interface
...
more concise.
2019-07-30 16:59:52 -04:00
Lawrence Forman
3cf48a831b
@0x/contracts-test-utils
: Export a custom describe()
instead of
...
extending Mocha's ambient declarations.
`@0x/contracts-exchange`: Use `describe.optional` instead of
`blockchainTests.optional` in `test/fill_order.ts`.
2019-07-30 16:59:52 -04:00
Lawrence Forman
930b742663
@0x/contracts-test-utils
: Fix blockchain environment not being created
...
with top-level `blockchainTests.resets()` directive.
2019-07-30 16:59:52 -04:00
Lawrence Forman
d3870fed1c
@0x/contracts-exchange
: Update test/fill_order.ts
to use the new
...
mocha blockchain extensions.
2019-07-30 16:59:52 -04:00
Lawrence Forman
99e242affd
@0x/contracts-test-utils
: Make blockchainTests()
automatically call blockchainLifecycle.startAsync()
and blockchainLifecycle.revertAsync()
in a before()
and after()
directive.
2019-07-30 16:59:52 -04:00
Lawrence Forman
9792246970
@0x/contracts-test-utils
: Tweak mocha blockchain extensions tests.
2019-07-30 16:59:52 -04:00
Lawrence Forman
020b953166
@0x/contracts-test-utils
: Update CHANGELOG.
2019-07-30 16:59:52 -04:00
Lawrence Forman
52aa8e914a
@0x/contracts-test-utils
: Tweak mocha blockchain extensions tests.
2019-07-30 16:59:52 -04:00
Lawrence Forman
e01eadaecd
@0x/contracts-exchange
: Add tests and run prettier.
2019-07-30 16:59:52 -04:00
Lawrence Forman
61fc32b7c0
@0x/contracts-test-utils
: Add optional
modifier to blockchainTests()
.
2019-07-30 16:59:52 -04:00
Lawrence Forman
a9c8207bb0
@0x/contracts-test-utils
: Pass a more robust BlockchainTestsEnvironment
object to blockchainTests()
callback.
2019-07-30 16:59:52 -04:00
Lawrence Forman
eac4f172fe
@0x/contracts-test-utils
: Just do a naked mocha
import in mocha_blockchain
.
2019-07-30 16:59:52 -04:00
Lawrence Forman
d6271426fd
@0x/contracts-test-utils
: Rename blockchainTests.reset
to blockchainTests.resets
.
2019-07-30 16:59:52 -04:00
Lawrence Forman
7e59110049
@0x/contracts-test-utils
: Create blockchainTests
mocha fixture directive.
...
`@0x/contracts-test-utils`: Automatically call `chaiSetup.configure()`.
`@0x/contracts-test-utils`: Export `expect` as an alias for `chai.expect`.
2019-07-30 16:59:52 -04:00
James Towle
8cf4fb9adc
Update contracts/utils/test/safe_math.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-30 12:08:35 -07:00
James Towle
f044f364cb
Update contracts/utils/test/reentrancy_guard.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-30 12:08:35 -07:00
James Towle
4d39892a11
Update contracts/utils/test/ownable.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-30 12:08:35 -07:00
James Towle
bf1ebe8e53
Update contracts/utils/test/ownable.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-30 12:08:35 -07:00
James Towle
77b4f32274
Update contracts/utils/test/ownable.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
2019-07-30 12:06:35 -07:00
Alex Towle
b2ada13a21
Ran prettier
2019-07-30 12:06:35 -07:00
Alex Towle
03fced81f5
Added unit tests for LibRichErrors
2019-07-30 12:06:35 -07:00
Alex Towle
f9292a8fb8
Added unit tests for LibEIP712
2019-07-30 12:06:35 -07:00
Alex Towle
065f46a020
Added unit tests for LibAddress
2019-07-30 12:06:35 -07:00
Alex Towle
6efb7027b5
Added unit tests for ReentrancyGuard
2019-07-30 12:06:35 -07:00
Alex Towle
f4f922acb5
Added unit tests for Ownable
2019-07-30 12:06:35 -07:00
Alex Towle
4a4d2e7079
Added unit tests for SafeMath
2019-07-30 12:06:35 -07:00
Lawrence Forman
9b5ba6806f
@0x/contracts-asset-proxy
: Fix broken erc1155_proxy
tests.
...
`@0x/contracts-asset-proxy`: Add `ERC1155Proxy.sol` to .solhintignore.
Fix circleci config to work with 3.0 branch.
2019-07-29 23:47:04 -04:00
Greg Hysen
8961b476ef
fixed typo in a test
2019-07-29 12:19:35 +02:00
Greg Hysen
58e08335b5
Added another test to show what happens when decoding both local and downstream events
2019-07-29 12:19:35 +02:00
Greg Hysen
2968dfb2ae
Minor readability improvements
2019-07-29 12:14:37 +02:00
Greg Hysen
24783107ba
Updated generated contract wrappers and ran linter
2019-07-29 12:11:58 +02:00
Greg Hysen
365c056b0f
Added tests for for decoding log arguments when artifact dependencies are included/excluded
2019-07-29 12:11:02 +02:00
Greg Hysen
88a7d9cca8
Updated changelogs for deployFrom0xArtifactAsync interface change
2019-07-29 12:11:02 +02:00
Greg Hysen
d8cf9d54aa
Updated all instances of deployFrom0xArtifactAsync
2019-07-29 12:07:28 +02:00