b56e00eb61
Fix documentation previews in pull requests ( #2015 )
...
* migrate to openzeppelin-docs-preview script
* update netlify configuration
* update docs-preview-script dependency
* remove old docs directory from gitignore
* update oz-docs script for live reload
* update oz-docs scripts to latest
* replace child_process.execFileSync with spawnSync
* update oz-docs-preview
2019-12-02 19:13:13 -03:00
0c644cc470
[Security] Bump eslint-utils from 1.4.0 to 1.4.3 ( #2012 )
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.4.0 to 1.4.3. **This update includes security fixes.**
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-02 10:22:38 -03:00
5f92adc2e7
Migrate from truffle to test-environment ( #2007 )
...
* Sketch
* Migrate all tests to test-env
* Finish migration to test-env
* Add config
* Work on GSN tests
* Migrate to newer test-env version and loader syntax
* Add GSN setup
* Finish test-env migration
* Setup coverage using test-env
* Migrate to npm package
* Fix package.json
* Add compile step to CI
* Add comment on coverage setup
* Remove dependency on @truffle/contract
* Fix package-lock merge
* Fix linter errors
* Upgrade test-environment, depend locally on ganche-coverage
* Improve coverage script
* Improve sign.js API
* Move accounts destructuring to describe block
* Switch to prebuilt ethereumjs-vm package
* Upgrade test-enviroment version
* use workspace in circleci config
* remove unnecessary npx
2019-11-28 15:46:42 -03:00
ca6a5dc8a2
Changes ERC777 external functions to public for allowing overrides #1994 ( #2001 )
...
* Changes ERC777 external functions to public for allowing overrides #1994
* Changes ERC777 external functions to public for allowing overrides (#1994 )
2019-11-27 19:29:05 -03:00
cc0f89e331
Bump nodemon from 1.19.4 to 2.0.1 ( #2008 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.19.4 to 2.0.1.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.19.4...v2.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-25 12:20:22 -03:00
28b95ef5be
ReentrancyGuard gas optimization ( #1996 )
...
* Improve gas efficiency of reentrancyGuard
* Add changelog entry
* Fix ReentrancyGuard test
2019-11-23 20:44:45 -03:00
4237eea7d8
Bump @openzeppelin/test-helpers from 0.5.3 to 0.5.4 ( #1999 )
...
Bumps [@openzeppelin/test-helpers](https://github.com/OpenZeppelin/openzeppelin-test-helpers ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-test-helpers/releases )
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-test-helpers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/OpenZeppelin/openzeppelin-test-helpers/compare/v0.5.3...v0.5.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-20 20:21:17 -03:00
95e54173e9
Update MerkleProof.sol ( #1997 )
2019-11-19 20:13:22 -03:00
8e980480aa
Fix broken crossreference links ( #2005 )
...
* Bump solidity-docgen from 0.3.11 to 0.3.13
Bumps solidity-docgen from 0.3.11 to 0.3.13.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* fix broken crossreference links
2019-11-19 17:41:51 -03:00
49042f2b1a
feat: add baseTokenURI to ERC721Metadata ( #1970 )
...
* feat: add baseTokenURI
* fix: tests
* chore: dev notation
* chore: changelog
* chore: typo
* Remove extra getters, return empty URI by default
* Update docs
* Rename baseTokenURI to baseURI
* Roll back visibility change of tokenURI
* Update changelog entry
* Version setBaseURI docs
* Improve internal names and comments
* Fix compilation errors
* Add an external getter for baseURI
2019-11-15 20:22:37 -03:00
714f13df7e
fix docs template to include only own items
2019-11-15 18:53:20 -03:00
33047ffddc
Update ReentrancyGuard for Istanbul Hard Fork ( #1992 )
...
* Update ReentrancyGuard for Istanbul Hard Fork
Changes:
Added L37, `_guardCounter = 1;`
Rationale:
The planned _Istanbul Hard Fork_ will implement [EIP 2200](e4d4ea348e/EIPS/eip-2200.md ), which implements "net gas metering" for `sstore` operations. If the final value of `_guardCounter` is unchanged relative to the original value of it, a gas refund will be applied and charges for changing the value of `_guardCounter` will effectively not exist. This ends up being cheaper than the current implementation ONLY AFTER Istanbul. Before Istanbul, the added line actually ends up costing more gas.
Note that if `_guardCounter` is `0` initially, the initial cost and subsequent refund will both be larger than if `_guardCounter` is `1` initially. Although in both cases, the net gas cost (`gasCost - gasRefund`) are equal, it's better in terms of cost to have both the gas cost and refund smaller, as there is some limit to the percentage of a gas refund that can actually be realized.
* Update CHANGELOG.md
Added note for change to ReentrancyGuard.sol
* Update ReentrancyGuard.sol
* Update CHANGELOG.md
2019-11-13 14:54:15 -03:00
f90700f3f1
add detail to deprecation notice
2019-11-12 17:52:38 -03:00
ab43553f0f
add explicit npm ci in prepare-docs
2019-11-11 17:50:56 -03:00
9cac50e428
Bump ethereumjs-util from 6.1.0 to 6.2.0 ( #1988 )
...
Bumps [ethereumjs-util](https://github.com/ethereumjs/ethereumjs-util ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/ethereumjs/ethereumjs-util/releases )
- [Changelog](https://github.com/ethereumjs/ethereumjs-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ethereumjs/ethereumjs-util/compare/v6.1.0...v6.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-11 16:40:01 -03:00
bc84ea450c
Bump solidity-docgen from 0.3.9 to 0.3.11 ( #1989 )
...
Bumps solidity-docgen from 0.3.9 to 0.3.11.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-11 15:42:13 -03:00
3608fb4ae9
Bump truffle from 5.0.42 to 5.0.44 ( #1990 )
...
Bumps [truffle](https://github.com/trufflesuite/truffle ) from 5.0.42 to 5.0.44.
- [Release notes](https://github.com/trufflesuite/truffle/releases )
- [Commits](https://github.com/trufflesuite/truffle/compare/truffle@5.0.42...truffle@5.0.44 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-11-11 15:19:54 -03:00
aa73460a8d
Update CHANGELOG.md
2019-11-07 23:09:32 -03:00
a20408a9e0
Update CHANGELOG.md
2019-11-07 23:09:18 -03:00
81b1e48107
typo fixes ( #1983 )
...
"standard also bring" -> "standard also brings"
"killer feature are" -> "killer feature is"
2019-11-05 15:38:17 -03:00
207f315231
tweak formatting of changelog
2019-11-05 12:59:50 -03:00
c3f2ed8168
tweak instructions on how to upgrade from beta
2019-11-01 15:46:09 -03:00
f4c5ce3009
Add section on how to upgrade from 2.4-beta ( #1981 )
...
* add how to upgrade from 2.4-beta
* add how-to
* Update CHANGELOG.md
2019-11-01 15:10:46 -03:00
5b2de262fd
Made _burn internal instead of private ( #1908 )
2019-10-31 19:57:38 -03:00
21d19dccb5
bump solidity-docgen from 0.3.7 to 0.3.9
2019-10-31 12:16:07 -03:00
19a6590306
bump solidity-docgen from 0.3.5 to 0.3.7
2019-10-30 13:33:35 -03:00
8e3563968f
add explanation of drafts category
2019-10-30 12:57:19 -03:00
d839c24e4b
Merge branch 'release-v2.4.0'
2019-10-29 17:56:10 -03:00
cdf655f770
2.4.0
v2.4.0
2019-10-29 17:44:30 -03:00
f5c95cc5cb
add changes to minimum solidity compiler version in the changelog
...
(cherry picked from commit bddbbe99a7 )
2019-10-29 17:41:55 -03:00
bddbbe99a7
add changes to minimum solidity compiler version in the changelog
2019-10-29 17:40:43 -03:00
c4bb7b7bb9
remove beta notice
2019-10-29 17:23:48 -03:00
1eb80ddb22
move changelog entry to new features section
...
(cherry picked from commit 2d30415373 )
2019-10-29 17:21:37 -03:00
feaf051fef
added feature availability info to documentation
...
(cherry picked from commit 9113335cb3 )
2019-10-29 17:21:29 -03:00
4c997ea09e
make PullPayment.withdrawPaymentsWithGas external
...
(cherry picked from commit 76a1d7a3cd )
2019-10-29 17:21:23 -03:00
1c220e175d
Forward all gas on PullPayment withdrawal ( #1976 )
...
* Add withdrawWithGas
* Improve docs
* Add changelog entry
* Update contracts/payment/PullPayment.sol
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* Remove repeated comment
* Update changelog entry
* Fix inline docs
* Fix changelog formatting
(cherry picked from commit d6e10ab786 )
2019-10-29 17:21:17 -03:00
ab4d43ce14
fix script for preparing contracts package
...
(cherry picked from commit eaee98f227 )
2019-10-29 17:21:08 -03:00
875f179fab
Update access-control.adoc ( #1968 )
...
Fixed:
-DetailedERC20 in the constructor
-minters should be _minters
-New example instead of rename function
(cherry picked from commit 5c8fa0f0cf )
2019-10-29 17:20:59 -03:00
e84e191322
Fixes dead link in Readme. ( #1969 )
...
(cherry picked from commit fcd77a4a37 )
2019-10-29 17:20:48 -03:00
a1b3de68c1
fix pr reference number for Address.sendValue
...
(cherry picked from commit 5702a84429 )
2019-10-29 17:20:42 -03:00
b0dbe0fc59
Transfer replacement ( #1962 )
...
* Add Address.sendEther
* Add documentation to sendEther
* Add changelog entry
* Rename sendEther to sendValue
(cherry picked from commit 8d166f3e35 )
2019-10-29 17:20:18 -03:00
6efbee609e
GSN renaming ( #1963 )
...
* Merge GSNBouncerBase into GSNRecipient
* Remove emtpy implementations for _pre and _post
* Rename bouncers to recipients
* Rename bouncers documentation to strategies
* Rewrite guides and docstrings to use the strategy naming scheme
* Address review comments
* Apply suggestions from code review
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
* change wording of docs
(cherry picked from commit aae95db4e0 )
2019-10-29 17:18:26 -03:00
21d014d481
Improve PullPayment docs ( #1965 )
...
* Improve PullPayment docs
* Reword escrow note
* Update contracts/payment/PullPayment.sol
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit 9e19d90cd9 )
2019-10-29 17:18:26 -03:00
7c31b98e6c
Remove SignatureBouncer from draft docs ( #1964 )
...
(cherry picked from commit 53f1b11668 )
2019-10-29 17:18:26 -03:00
bfbbf4dfe7
change 'visibility' class to 'item-kind' in docs template
...
(cherry picked from commit 13b85c6848 )
2019-10-29 17:18:26 -03:00
86bfdfce96
add indicators for events and modifiers ( #1954 )
...
(cherry picked from commit eda29e06b2 )
2019-10-29 17:18:26 -03:00
9df4f7971e
Design tweaks to documentation template ( #1937 )
...
* switch index to show arg names
* add index separators
* add classes to style variable type and name
* add class for inherited part of index
* use inheritedItems in contracts template
* refactor template to use explicit if and each
(cherry picked from commit 5d6a040fc3 )
2019-10-29 17:18:26 -03:00
f5fe378cc6
update solidity-docgen
...
(cherry picked from commit e557a54ce7 )
2019-10-29 17:18:26 -03:00
5183c6a307
Show visibility ( #1945 )
...
(cherry picked from commit 77ae18f12f )
2019-10-29 17:13:03 -03:00
80125a1be5
fix gsn api links
...
(cherry picked from commit c866522833 )
2019-10-29 17:12:07 -03:00