- 04 Mar, 2020 1 commit
-
-
In https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/pull/76, we are rearranging the erc721metadata contract storage layout, so the new variable is added at the end. This commit applies the same change to the vanilla contracts repository, so migration from 2.5 to 3.0 is easier for users using the transpiler.
Nicolás Venturo authored
-
- 02 Mar, 2020 1 commit
-
-
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.1 to 7.1.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/v7.0.1...v7.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored
-
- 28 Feb, 2020 1 commit
-
-
Francisco Giordano authored
-
- 26 Feb, 2020 1 commit
-
-
Bumps [@openzeppelin/test-environment](https://github.com/OpenZeppelin/openzeppelin-test-environment) from 0.1.2 to 0.1.3. - [Release notes](https://github.com/OpenZeppelin/openzeppelin-test-environment/releases) - [Changelog](https://github.com/OpenZeppelin/openzeppelin-test-environment/blob/master/CHANGELOG.md) - [Commits](https://github.com/OpenZeppelin/openzeppelin-test-environment/compare/v0.1.2...v0.1.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored
-
- 18 Feb, 2020 1 commit
-
-
Bumps [solhint](https://github.com/protofire/solhint) from 3.0.0-rc.2 to 3.0.0-rc.3. - [Release notes](https://github.com/protofire/solhint/releases) - [Changelog](https://github.com/protofire/solhint/blob/master/CHANGELOG.md) - [Commits](https://github.com/protofire/solhint/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored
-
- 17 Feb, 2020 6 commits
-
-
Francisco Giordano authored
-
Bumps [@openzeppelin/cli](https://github.com/OpenZeppelin/openzeppelin-sdk) from 2.7.0-rc.2 to 2.7.1. - [Release notes](https://github.com/OpenZeppelin/openzeppelin-sdk/releases) - [Commits](https://github.com/OpenZeppelin/openzeppelin-sdk/compare/v2.7.0-rc.2...v2.7.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored -
Bumps [openzeppelin-docs-utils](https://github.com/OpenZeppelin/docs-utils) from `af3466e` to `459f171`. - [Release notes](https://github.com/OpenZeppelin/docs-utils/releases) - [Commits](https://github.com/OpenZeppelin/docs-utils/compare/af3466e2342fa004288b1b77841fa519148a879b...459f1710a07ec02cbd683cab4800c32a07aed274) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored -
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>
dependabot-preview[bot] authored -
Luca Daniel authored
-
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.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.7.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored
-
- 14 Feb, 2020 3 commits
-
-
Nicolás Venturo authored
-
Rename CREATE2 argument from bytecodeHash to bytecode and add new method for precomputed bytecode hash (#2087) * Rename CREATE2 argument from bytecodeHash to bytecode and add new method for precomputed bytecode hash * Remove only from test * Fix linter error
Anton Bukov authored -
* Initial migration to Solidity 0.6.x - v3.0 first steps (#2063) * Initial migration, missing GSN, 721, 777 and Crowdsales. * Add _beforeTokenOperation and _afterTokenOperation. * Add documentation for hooks. * Add hooks doc * Add missing drafts * Add back ERC721 with hooks * Bring back ERC777 * Notes on hooks * Bring back GSN * Make functions virtual * Make GSN overrides explicit * Fix ERC20Pausable tests * Remove virtual from some view functions * Update linter * Delete examples * Remove unnecessary virtual * Remove roles from Pausable * Remove roles * Remove users of roles * Adapt ERC20 tests * Fix ERC721 tests * Add all ERC721 hooks * Add ERC777 hooks * Fix remaining tests * Bump compiler version * Move 721BurnableMock into mocks directory * Remove _before hooks * Fix tests * Upgrade linter * Put modifiers last * Remove _beforeTokenApproval and _beforeOperatorApproval hooks
Nicolás Venturo authored
-
- 11 Feb, 2020 1 commit
-
-
Francisco Giordano authored
-
- 06 Feb, 2020 2 commits
-
-
Nicolás Venturo authored
-
* Add note about gas costs * Update wording
Nicolás Venturo authored
-
- 05 Feb, 2020 2 commits
-
-
Nicolás Venturo authored
-
This reverts commit e7bded65.
Nicolás Venturo authored
-
- 04 Feb, 2020 7 commits
-
-
Nicolás Venturo authored
-
Nicolás Venturo authored
-
Nicolás Venturo authored
-
Nicolás Venturo authored
-
* Remove newAddressSet * Add count and get functions. * Fix lint (cherry picked from commit 7988c044)
Nicolás Venturo authored -
* Remove newAddressSet * Add count and get functions. * Fix lint
Nicolás Venturo authored -
* Drafted Enumerable.sol. * Drafted test framework. * Tweaked the tests to follow oz structure. * Coded EnumerableSet. * Moved EnumerableSet to `utils`. * Fixed linting. * Improved comments. * Tweaked contract description. * Renamed struct to AddressSet. * Relaxed version pragma to 0.5.0 * Removed events. * Revert on useless operations. * Small comment. * Created AddressSet factory method. * Failed transactions return false. * Transactions now return false on failure. * Remove comments from mock * Rename mock functions * Adapt tests to code style, use test-helpers * Fix bug in remove, improve tests. * Add changelog entry * Add entry on Utils doc * Add optimization for removal of last slot * Update docs * Fix headings of utilities documentation * Simplified mock. * Fixed comment. * Revert "Fixed comment." This reverts commit 39627f9a6f90d48be20ca1449fe03e1699b48173. * Revert "Simplified mock." This reverts commit 67468e464b038736251f18e1dc2e368c9091a87a. * Simplified mock. Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com> (cherry picked from commit 8975289c)
Alberto Cuesta Cañada authored
-
- 30 Jan, 2020 2 commits
-
-
* Drafted Enumerable.sol. * Drafted test framework. * Tweaked the tests to follow oz structure. * Coded EnumerableSet. * Moved EnumerableSet to `utils`. * Fixed linting. * Improved comments. * Tweaked contract description. * Renamed struct to AddressSet. * Relaxed version pragma to 0.5.0 * Removed events. * Revert on useless operations. * Small comment. * Created AddressSet factory method. * Failed transactions return false. * Transactions now return false on failure. * Remove comments from mock * Rename mock functions * Adapt tests to code style, use test-helpers * Fix bug in remove, improve tests. * Add changelog entry * Add entry on Utils doc * Add optimization for removal of last slot * Update docs * Fix headings of utilities documentation * Simplified mock. * Fixed comment. * Revert "Fixed comment." This reverts commit 39627f9a6f90d48be20ca1449fe03e1699b48173. * Revert "Simplified mock." This reverts commit 67468e464b038736251f18e1dc2e368c9091a87a. * Simplified mock. Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
Alberto Cuesta Cañada authored -
Reported from Community Member via Intercom
Andrew B Coathup authored
-
- 27 Jan, 2020 3 commits
-
-
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>
dependabot-preview[bot] authored -
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.2. **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.7.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored -
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.0 to 7.0.1. - [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/v7.0.0...v7.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] authored
-
- 24 Jan, 2020 4 commits
-
-
Nicolás Venturo authored
-
Nicolás Venturo authored
-
Nicolás Venturo authored
-
* Drafted Enumerable.sol. * Drafted test framework. * Tweaked the tests to follow oz structure. * Coded EnumerableSet. * Moved EnumerableSet to `utils`. * Fixed linting. * Improved comments. * Tweaked contract description. * Renamed struct to AddressSet. * Relaxed version pragma to 0.5.0 * Removed events. * Revert on useless operations. * Small comment. * Created AddressSet factory method. * Failed transactions return false. * Transactions now return false on failure. * Remove comments from mock * Rename mock functions * Adapt tests to code style, use test-helpers * Fix bug in remove, improve tests. * Add changelog entry * Add entry on Utils doc * Add optimization for removal of last slot * Update docs * Fix headings of utilities documentation Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
Alberto Cuesta Cañada authored
-
- 23 Jan, 2020 5 commits
-
-
* Made private methods internal to allow for overriding * Revert package.lock changes. * Make _move private again * Expose the ERC1820 registry address * Add changelog entry Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
Mick de Graaf authored -
* adding mock contacts, test code * adding changes to ERC721.sol per @frangio's comments on original PR #1943 * fix solhint warnings * Update contracts/token/ERC721/ERC721.sol Co-Authored-By: Francisco Giordano <frangio.1@gmail.com> * same revert wording per @frangio's review suggestion * per @frangio's feedback, changing the inline assembly to accomplish: we want to ignore the first 4 bytes of content, so we should read the length and decrease it by 4, then take the memory location and add 4 to it, then store the new length at the new memory location, then that is the new byte array that we want. * change revert msg assembly per PR comment by @frangio * unify revert msg in test code * fix some failed tests, wording change * Update contracts/token/ERC721/ERC721.sol Co-Authored-By: Francisco Giordano <frangio.1@gmail.com> * Update contracts/token/ERC721/ERC721.sol Co-Authored-By: Francisco Giordano <frangio.1@gmail.com> * fix test case, revert without reason * fix 'ERC721ReceiverRevertsMock: Transaction rejected by receiver' * style change per review by @frangio * fix revert reason forwarding * remove duplicate contracts/mocks/ERC721ReceiverRevertsMock.sol per review https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2018\#issuecomment-574381034 * Add changelog entry * Fix tests * Make tests more clear Co-authored-by: Francisco Giordano <frangio.1@gmail.com> Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
Hao (Alan) Tang authored -
Nicolás Venturo authored
-
* Add Create2 library (#1744) * feat(contracts): Add Create2 library to use create2 evm opcode * Upgrade sol-coverage * Add changelog entry * Update comments and code style * Remove create2 helper * Fix linter error * Fix truffle dependency * Fix linter error * refactor(Create2): Remove _deploy internal function * test(Create2): test Create2 with inline assembly code * fix(Create2): Check address returned form create2 instead of codesize of created contract * refactor(Create2):Add revert reason when Create2 deploy fails (#2062) * fix merge with master * fix test Co-authored-by: Augusto Lemble <me@augustol.com>
Francisco Giordano authored -
* Copy docsite landing to readme * Fix code sample * Apply suggestions from code review Co-Authored-By: Francisco Giordano <frangio.1@gmail.com> * Update code sample Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Nicolás Venturo authored
-