Nicolás Venturo
b1e811430a
Upgrade test-environment dependency
5 years ago
Francisco Giordano
06983a2075
add note suggesting reentrancy post ( #2059 )
5 years ago
Andrew B Coathup
d037217769
Update README ( #2056 )
...
* Update README to use releases-stability URL
Change https://docs.openzeppelin.com/contracts/api-stability to https://docs.openzeppelin.com/contracts/releases-stability (even though it redirects)
* Update README to include CLI as dev env
Add OpenZeppelin CLI to list of development environments
* Update README to use releases-stability URL
Change https://docs.openzeppelin.com/contracts/api-stability to https://docs.openzeppelin.com/contracts/releases-stability (even though it redirects)
5 years ago
Nicolás Venturo
410e4f8ab9
Fix link to GSN overview ( #2053 )
...
* Fix link to GSN overview
* Update contracts/GSN/README.adoc
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
5 years ago
Peter
54d2aec232
issue#1980 ( #2038 )
...
* issue#1980
* fix public to external
5 years ago
dependabot-preview[bot]
d006a750ee
Bump eslint-plugin-import from 2.18.2 to 2.20.0 ( #2051 )
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.18.2 to 2.20.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.2...v2.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
5376e5d349
Bump @openzeppelin/gsn-helpers from 0.2.1 to 0.2.3 ( #2052 )
...
Bumps [@openzeppelin/gsn-helpers](https://github.com/OpenZeppelin/openzeppelin-gsn-helpers ) from 0.2.1 to 0.2.3.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-gsn-helpers/releases )
- [Commits](https://github.com/OpenZeppelin/openzeppelin-gsn-helpers/compare/v0.2.1...v0.2.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
e5805c4979
Bump openzeppelin-docs-utils from `dc7ce30` to `f6b5291` ( #2050 )
...
Bumps [openzeppelin-docs-utils](https://github.com/OpenZeppelin/docs-utils ) from `dc7ce30` to `f6b5291`.
- [Release notes](https://github.com/OpenZeppelin/docs-utils/releases )
- [Commits](dc7ce3006b...f6b5291a2e
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Francisco Giordano
73cbd6a38b
fix typo
5 years ago
Nicolás Venturo
7014d94108
Fix doc links
5 years ago
Nicolás Venturo
62651e8147
Docs overhaul ( #2045 )
...
* Reorder navbar
* Adapt content to new docsite structure, add links
* Fix list
* fix list
* Apply suggestions from code review
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com>
* Update index.adoc
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
5 years ago
Gabriel Cardona
f9650b4cb8
Remove .gitkeep as it's not needed. ( #2046 )
5 years ago
dependabot-preview[bot]
249b5e9a4b
Bump mocha from 6.2.2 to 7.0.0 ( #2042 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 6.2.2 to 7.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
67a71519d3
[Security] Bump handlebars from 4.1.2 to 4.5.3 ( #2033 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.2 to 4.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Francisco Giordano
ccdeca65a1
make stalebot ignore prs tagged "meta"
5 years ago
William Entriken
fbddf5ba5b
Test common case first ( #2023 )
5 years ago
Andrew B Coathup
cf0e71b4ed
Update crowdsales.adoc fix invalid conversion ( #2026 )
...
Code sample for MyCrowdsaleDeployer causes TypeError:
```
browser/MyCrowdsaleDeployer.sol:21:13: TypeError: Invalid type for argument in function call.
Invalid implicit conversion from address to contract IERC20 requested.
address(token) // the token
^------------^
```
Change:
```solidity
address(token) // the token
```
To:
```solidity
token // the token
```
Reported by community member in the forum: https://forum.openzeppelin.com/t/invalid-implicit-conversion-from-address-to-contract-ierc20-requested/1937
5 years ago
Nicolás Venturo
73a5903789
Update README.adoc
5 years ago
William Entriken
5d47aa85bc
Correct documentation for isContract check ( #2017 )
...
* Correct documentation for isContract check
* Update Address.sol
* Update Address.sol
* add missing newline before asciidoc list
5 years ago
Francisco Giordano
3eaf50005f
disable oz cli interactivity in compile script
5 years ago
dependabot-preview[bot]
aec642c5ab
[Security] Bump eslint-utils from 1.4.0 to 1.4.3 ( #2019 )
...
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>
5 years ago
dependabot-preview[bot]
d0d5c2835e
Bump openzeppelin-docs-utils from `8e3fa25` to `dc7ce30` ( #2021 )
...
Bumps [openzeppelin-docs-utils](https://github.com/OpenZeppelin/docs-utils ) from `8e3fa25` to `dc7ce30`.
- [Release notes](https://github.com/OpenZeppelin/docs-utils/releases )
- [Commits](8e3fa25573...dc7ce3006b
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Francisco Giordano
2593457503
rename docs-utils dependency
5 years ago
Francisco Giordano
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
5 years ago
dependabot-preview[bot]
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>
5 years ago
Nicolás Venturo
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
5 years ago
Arindam Ghosh
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 )
5 years ago
dependabot-preview[bot]
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>
5 years ago
Nicolás Venturo
28b95ef5be
ReentrancyGuard gas optimization ( #1996 )
...
* Improve gas efficiency of reentrancyGuard
* Add changelog entry
* Fix ReentrancyGuard test
5 years ago
dependabot-preview[bot]
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>
5 years ago
William Entriken
95e54173e9
Update MerkleProof.sol ( #1997 )
5 years ago
Francisco Giordano
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
5 years ago
Ignacio Mazzara
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
5 years ago
Francisco Giordano
714f13df7e
fix docs template to include only own items
5 years ago
ericDeCourcy
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
5 years ago
Francisco Giordano
f90700f3f1
add detail to deprecation notice
5 years ago
Francisco Giordano
ab43553f0f
add explicit npm ci in prepare-docs
5 years ago
dependabot-preview[bot]
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>
5 years ago
dependabot-preview[bot]
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>
5 years ago
dependabot-preview[bot]
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>
5 years ago
Nicolás Venturo
aa73460a8d
Update CHANGELOG.md
5 years ago
Nicolás Venturo
a20408a9e0
Update CHANGELOG.md
5 years ago
ericDeCourcy
81b1e48107
typo fixes ( #1983 )
...
"standard also bring" -> "standard also brings"
"killer feature are" -> "killer feature is"
5 years ago
Francisco Giordano
207f315231
tweak formatting of changelog
5 years ago
Francisco Giordano
c3f2ed8168
tweak instructions on how to upgrade from beta
5 years ago
Francisco Giordano
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
5 years ago
Mick de Graaf
5b2de262fd
Made _burn internal instead of private ( #1908 )
5 years ago
Francisco Giordano
21d19dccb5
bump solidity-docgen from 0.3.7 to 0.3.9
5 years ago
Francisco Giordano
19a6590306
bump solidity-docgen from 0.3.5 to 0.3.7
5 years ago
Francisco Giordano
8e3563968f
add explanation of drafts category
5 years ago