Hadrien Croubois
9425a7e0ab
Merge branch 'solc-0.8'
...
Conflicts:
CHANGELOG.md
package-lock.json
test/math/SafeMath.test.js
4 years ago
Hadrien Croubois
93438eca0b
Merge 3.4 master into solc-0.8 ( #2499 )
...
* 3.4.0-rc.0
* Allow manual dispatch of Test CI job
* Update lockfile (#2481 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* Add "available since" comments in documentation
* Add "available since" comments in documentation
(cherry picked from commit 63a0343dda
)
* Remove SafeMathMock compilation warnings (#2497 )
* Remove SafeMathMock compilation warnings (#2497 )
(cherry picked from commit f4e57fd529
)
* 3.4.0
* fix safemath test to use renamed function from the mock
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Francisco Giordano
e28615628b
Merge branch 'release-v3.4'
4 years ago
Francisco Giordano
fa64a1ced0
3.4.0
4 years ago
Francisco Giordano
0f553e7f9e
Remove SafeMathMock compilation warnings ( #2497 )
...
(cherry picked from commit f4e57fd529
)
4 years ago
Francisco Giordano
f4e57fd529
Remove SafeMathMock compilation warnings ( #2497 )
4 years ago
Francisco Giordano
a0e2bca79a
Add "available since" comments in documentation
...
(cherry picked from commit 63a0343dda
)
4 years ago
Francisco Giordano
63a0343dda
Add "available since" comments in documentation
4 years ago
Hadrien Croubois
5db7413827
re-enabling safemath revert reasons in ERC20, ERC777 and ERC1155 ( #2491 )
...
* re-enabling safemath revert reasons in ERC20 and ERC1155
* adding revert messages to ERC777
* removing uncheck block
4 years ago
renovate[bot]
d163aeb80d
Update lockfile ( #2481 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Hadrien Croubois
60205944bb
Adopt new Solidity features interfaceId, try/catch, keccak constants ( #2487 )
...
* Clean code
- using type().interfaceId to improve readeability of ERC165 registration
- hardcoding some keccak256 that are otherwise computed at construction.
* hardcode keccak256 result
* Improve code readeability using try/catch
* Remove hardcoded hash
tests show that solc 0.8.0 does the optimization as expected
* Use try/catch to improve readability
* ERC165Checker: Do not revert when returndata is empty + new test
* Address PR comments
* improve testing of ERC721Receiver errors
* put back comment about invalid interface id
* coverage does not support 0.8.1. Reverting back to 0.8.0
* bubble all data with length > 0 if onERC721Receive fails.
* Fix test: revert without message trigger is bubble with the default message
* using enum object to improve readability
4 years ago
Hadrien Croubois
03832c130c
Make Context._msgData return "bytes calldata" ( #2492 )
4 years ago
Francisco Giordano
9f93e25b88
Merge branch 'solc-0.7' into 'solc-0.8'
4 years ago
Francisco Giordano
afaebc3869
Disable solhint until Solidity 0.8 supported
4 years ago
Francisco Giordano
fdf57a9788
Lint
4 years ago
Francisco Giordano
5609cd4c74
Fix merge errors
4 years ago
Hadrien Croubois
a0323d446c
Transition from buidler to hardhat
4 years ago
Hadrien Croubois
0db76e98f9
Merge branch 'solc-0.7' into solc-0.8
4 years ago
Francisco Giordano
fa33fbce75
Allow manual dispatch of Test CI job
...
(cherry picked from commit bcc7192af7
)
4 years ago
Francisco Giordano
bcc7192af7
Allow manual dispatch of Test CI job
4 years ago
Francisco Giordano
0d27b7a7ff
Add package-lock.json
4 years ago
Hadrien Croubois
6d202894b6
Merge branch 'master'
4 years ago
Francisco Giordano
ff300b10e1
3.4.0-rc.0
4 years ago
Hadrien Croubois
18c7efe800
Make view and pure functions virtual ( #2473 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
0931062a3f
Use Address.sendValue instead of address.transfer in RefundEscrow ( #2480 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
3b4c951838
Fix ERC777 potential reentrancy issues ( #2483 )
4 years ago
Conspyrosy
c2c08af16d
Add ERC165Checker.getSupportedInterfaces ( #2469 )
...
Co-authored-by: conspyrosy <1027439+Spyros-Stylianou@users.noreply.github.com>
Co-authored-by: kamiebisu <kamiebisu@protonmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
9e49be41b6
Add ERC1167 library (minimal proxy) ( #2449 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
dd86c97e18
Fix scripts/prepare-docs.sh
4 years ago
Francisco Giordano
5a8e6bda51
Update pull request template
4 years ago
Hadrien Croubois
c34211417c
Refactor SafeMath to avoid memory leaks ( #2462 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Andre Korol
974c534210
Update contracts to support Solidity 0.8.x ( #2442 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
renovate[bot]
5a58fd2de0
Update lockfile ( #2467 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Hadrien Croubois
faec973e09
Make non-view functions virtual ( #2468 )
4 years ago
Bill Hsu
65b7e515a2
Align comments ( #2458 )
4 years ago
Hadrien Croubois
318c4b44ea
Move Context from GSN to utils directory ( #2453 )
...
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
b6e5187973
Use Address.sendValue for PaymentSplitter ( #2456 )
...
* use Address.sendValue instead of .transfer
* changelog entry
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
1e8cb4b4a4
Bubble revert reasons in proxy initialization ( #2454 )
...
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
4 years ago
renovate[bot]
9daa0d4d2f
Update lockfile ( #2447 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Nicolás Venturo
ceb7324657
Update TimelockController.sol ( #2446 )
4 years ago
Mikhail Melnik
da00d28cb7
Rename "amount" to "value" in permit ( #2445 )
4 years ago
renovate[bot]
c23d5e0143
Update lockfile ( #2444 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
renovate[bot]
d8658dbc47
Update actions/setup-node action to v2 ( #2440 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Alex Beregszaszi
a6a4c042f5
Adjust for chainid becoming view in 0.8.0. ( #2443 )
...
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
4 years ago
Alex Beregszaszi
6be0b410dc
Use explicit conversions between addresses and numbers ( #2439 )
...
Co-authored-by: hrkrshnn <webmail.hari@gmail.com>
Co-authored-by: cameel <cameel2@gmail.com>
4 years ago
Alex Beregszaszi
051d340171
Use bytes1 and avoid using the obsolete byte type ( #2438 )
4 years ago
renovate[bot]
0a4233f0f6
Update lockfile ( #2435 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Nicolás Venturo
ecc66719bd
Add ERC20 Permit (EIP-2612) ( #2237 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
4 years ago
dependabot[bot]
03d51c5677
Bump ini from 1.3.5 to 1.3.7 ( #2430 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Francisco Giordano
268c6ab36c
Edit ERC20 API index to make it clearer
4 years ago