21344b91ed
Lint
2020-11-17 20:26:17 -03:00
d3a4e31fe2
Fix changelog versioning to include date only after final release
2020-11-17 19:23:02 -03:00
5803e11663
Improve script to version changelog
2020-11-17 18:50:10 -03:00
3d2e5c0310
Update lockfile ( #2384 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-11-13 22:50:00 -03:00
8effd1e02a
Add scripts for when publishing @openzeppelin/contracts directly
...
(cherry picked from commit a1408a3411 )
2020-11-11 16:40:23 -03:00
da9161fc91
Migrate to GitHub Actions
2020-11-06 17:20:45 -03:00
8533499507
Lint
2020-10-29 16:42:32 -03:00
fb4659c5d7
Change convention for unreleased changelog entries
2020-10-28 17:23:54 -03:00
f06738828b
Migrate to Hardhat ( #2397 )
2020-10-28 17:03:05 -03:00
ace35fdeda
Update all dependencies transitively ( #2363 )
2020-09-16 12:14:53 -03:00
c7d99531a7
Re-enable coverage analysis ( #2291 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-09-15 20:59:42 -03:00
d9fa59f30a
Address ERC1155 changes ( #2267 )
...
* Make holder fns public
* Add context, remove msg.sender from check
* Fix location of Holder arguments
* Add beforeTransfer hook
* Minor test improvements
* Add ERC1155Burnable and tests
* Add ERC1155Pausable
* Add ERC1155PresetMinterPauser.sol
* Add uri constructors
* Improved revert reasons
* Initial docs improvements
* Add missing docs
* Improve acceptance checks revert reasons
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Remove note about 1155 preset uri in mint
* Add rquirements to balanceOfBatch
* Add note about URI and uri
* Fix list in docs
* Fix lint errors
* Use natural sorting for API titles
* Fix doc references
* Escape {id} references to remove docgen warnings
* Added intro docs, fixed links
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-06-09 14:47:51 -03:00
fa36244bec
separate prepare and prepack scripts to fix CI
2020-05-13 17:28:13 -03:00
fd981ad315
fix removal of mocks from published package
2020-05-12 17:36:16 -03:00
ac0a4327a9
Bump solidity-docgen from 0.4.1 to 0.5.3 ( #2221 )
...
* Bump solidity-docgen from 0.4.1 to 0.5.3
Bumps solidity-docgen from 0.4.1 to 0.5.3.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update prepare-docs.sh
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-05-04 17:14:12 -03:00
528c23d679
Remove ethpm.json and update releasing docs ( #2205 )
...
* remove ethpm.json
* update releasing document
* fix release documentation to be more realistic
2020-04-20 20:10:30 -03:00
9edee8a7a8
Fix linter errors
2020-04-03 17:15:40 -03:00
7c19c56844
Improve API docgen sorting
2020-04-03 17:01:29 -03:00
e4d2830f1d
Update release script for major releases
2020-02-14 13:37:28 -03:00
04a1b21874
update docs-utils to keep docs version in sync
2020-02-11 19:04:17 -03:00
8e58cda8c3
Revert "Fix ignoring mock artifacts on release"
...
This reverts commit e7bded655b .
2020-02-05 00:04:29 -03:00
e7bded655b
Fix ignoring mock artifacts on release
2020-02-04 20:23:01 -03:00
3eaf50005f
disable oz cli interactivity in compile script
2019-12-09 16:55:17 -03:00
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
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
ab43553f0f
add explicit npm ci in prepare-docs
2019-11-11 17:50:56 -03:00
d839c24e4b
Merge branch 'release-v2.4.0'
2019-10-29 17:56:10 -03:00
ab4d43ce14
fix script for preparing contracts package
...
(cherry picked from commit eaee98f227 )
2019-10-29 17:21:08 -03:00
eaee98f227
fix script for preparing contracts package
2019-10-28 19:31:21 -03:00
3e1519ac1e
Delete unused function ( #1961 )
2019-10-22 19:39:20 -03:00
c0042cd9d0
Merge branch 'master' into release-v2.4.0
2019-08-16 21:25:51 +02:00
49eae91441
change double quotes for single quotes
2019-08-16 21:24:10 +02:00
6a01da193e
add release push command
2019-08-16 21:14:13 +02:00
0fa5270f7e
fix changelog editing script
2019-08-16 21:09:20 +02:00
18d7e24a2c
rename docsite script to docs and update docs setup description
2019-08-16 20:03:49 +02:00
ee5fdaf639
remove comment that made bash fail
...
(cherry picked from commit 5c19876fbf )
2019-08-15 19:01:30 +02:00
5c19876fbf
remove comment that made bash fail
2019-08-15 19:00:48 +02:00
3ae589ebc5
add option to change prerelease suffix
2019-08-15 19:00:37 +02:00
6ae0915c3d
add option to change prerelease suffix
2019-08-15 18:46:05 +02:00
0ec1d761aa
Initial GSN support (beta) ( #1844 )
...
* Add base Context contract
* Add GSNContext and tests
* Add RelayHub deployment to tests
* Add RelayProvider integration, complete GSNContext tests
* Switch dependency to openzeppelin-gsn-provider
* Add default txfee to provider
* Add basic signing recipient
* Sign more values
* Add comment clarifying RelayHub's msg.data
* Make context constructors internal
* Rename SigningRecipient to GSNRecipientSignedData
* Add ERC20Charge recipients
* Harcode RelayHub address into GSNContext
* Fix Solidity linter errors
* Run server from binary, use gsn-helpers to fund it
* Migrate to published @openzeppelin/gsn-helpers
* Silence false-positive compiler warning
* Use GSN helper assertions
* Rename meta-tx to gsn, take out of drafts
* Merge ERC20 charge recipients into a single one
* Rename GSNRecipients to Bouncers
* Add GSNBouncerUtils to decouple the bouncers from GSNRecipient
* Add _upgradeRelayHub
* Store RelayHub address using unstructored storage
* Add IRelayHub
* Add _withdrawDeposits to GSNRecipient
* Add relayHub version to recipient
* Make _acceptRelayedCall and _declineRelayedCall easier to use
* Rename GSNBouncerUtils to GSNBouncerBase, make it IRelayRecipient
* Improve GSNBouncerBase, make pre and post sender-protected and optional
* Fix GSNBouncerERC20Fee, add tests
* Add missing GSNBouncerSignature test
* Override transferFrom in __unstable__ERC20PrimaryAdmin
* Fix gsn dependencies in package.json
* Rhub address slot reduced by 1
* Rename relay hub changed event
* Use released gsn-provider
* Run relayer with short sleep of 1s instead of 100ms
* update package-lock.json
* clear circle cache
* use optimized gsn-provider
* update to latest @openzeppelin/gsn-provider
* replace with gsn dev provider
* remove relay server
* rename arguments in approveFunction
* fix GSNBouncerSignature test
* change gsn txfee
* initialize development provider only once
* update RelayHub interface
* adapt to new IRelayHub.withdraw
* update @openzeppelin/gsn-helpers
* update relayhub singleton address
* fix helper name
* set up gsn provider for coverage too
* lint
* Revert "set up gsn provider for coverage too"
This reverts commit 8a7b5be5f9 .
* remove unused code
* add gsn provider to coverage
* move truffle contract options back out
* increase gas limit for coverage
* remove unreachable code
* add more gas for GSNContext test
* fix test suite name
* rename GSNBouncerBase internal API
* remove onlyRelayHub modifier
* add explicit inheritance
* remove redundant event
* update name of bouncers error codes enums
* add basic docs page for gsn contracts
* make gsn directory all caps
* add changelog entry
* lint
* enable test run to fail in coverage
2019-08-12 13:30:03 -03:00
c771b2c8d5
add early failure to coverage script
2019-08-09 19:29:45 -03:00
e59ded9134
Manually specify commit hash to codecov
2019-08-07 22:31:28 -03:00
2a29f697bf
Disable Travis in favor of Circle ( #1866 )
...
* replace readme badge
* remove travis config
* move to codecov
* add codecov config
* fix coverage running
2019-08-07 20:36:39 -03:00
571fa7f4e7
Fix linter error
2019-07-27 20:35:00 -03:00
b8c8308d77
Add @openzeppelin/contracts as alternative package name ( #1840 )
...
* Rename package and repository name from docs and scripts
* undo root package rename
* add @openzeppelin/contracts as subpackage with release automation
* synchronize @openzeppelin/contracts version
* remove private field from package.json
* make file patterns absolute
* change wording of a comment
* use a saner version script
2019-07-26 16:01:04 -03:00
623c3c05c8
fix docsite script
2019-07-23 17:31:49 -03:00
90831c8970
Squash merge of branch docs-v2.x into master
2019-07-23 15:54:12 -03:00
c5c0e22c89
fix docsite build script
2019-07-17 17:33:51 -03:00
7552af95e4
migrate content to format for new docs site
...
Squashed commit of the following:
commit fcf35eb806100de300bd9803ce3150dde1ecc424
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 17 17:16:04 2019 -0300
remove all docsite dependency
commit eeaee9a9d43d70704f6ab17b5126ddbd52b93a50
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 17 17:15:23 2019 -0300
update solidity-docgen
commit f021ff951829ea0c155186749819403c6b76e803
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 17 17:05:06 2019 -0300
update docsite script for new setup
commit ff887699d381cfbbe3acf1f1c0de8e22b58480f3
Merge: c938aa1d 84f85a41
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 17 16:46:46 2019 -0300
Merge branch 'master' into antora
commit c938aa1d9ed05ac83a34e2cebd8353f8331ad6d6
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jul 16 18:24:29 2019 -0300
make component name shorter
commit 5bbd6931e02cbbd8864c82655ad0f390ceead5f3
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 20:16:17 2019 -0300
add all info to docs templates
commit 39682c4515d7cf0f0368ed557f50d2709174208a
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 20:13:49 2019 -0300
fix npm docsite script
commit 7ae46bd4a0437abf66150d54d05adf46e3de2cab
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 18:48:05 2019 -0300
convert inline docs to asciidoc
commit cfdfd3dee4b4bf582fde22c8cb6e17a603d6e0c8
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 17:34:52 2019 -0300
add missing contract names in readmes
commit 15b6a2f9bfb546cf1d3bf4f104278b118bf1b3f4
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 17:16:47 2019 -0300
fix script path
commit 80d82b909f9460d1450d401f00b3f309da506b29
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 17:13:53 2019 -0300
update version of solidity-docgen
commit a870b6c607b9c2d0012f8a60a4ed1a1c8b7e8ebd
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 17:03:53 2019 -0300
add nav generation of api ref
commit 069cff4a25b83752650b54b86d85608c2f547e5e
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Wed Jul 10 16:32:14 2019 -0300
initial migration to asciidoc and new docgen version
commit 55216eed0a6551da913c8d1da4b2a0d0d3faa1a8
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 20:39:35 2019 -0300
add basic api doc example
commit 0cbe50ce2173b6d1d9a698329d91220f58822a53
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 19:31:31 2019 -0300
add sidebars
commit 256fc942845307258ac9dc25aace48117fa10f79
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 15:22:38 2019 -0300
add page titles
commit f4d0effa70e1fc0662729863e8ee72a8821bc458
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 15:19:41 2019 -0300
add contracts index file
commit b73b06359979f7d933df7f2b283c50cb1c31b2a0
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 15:14:52 2019 -0300
fix header levels
commit fb57d9b820f09a1b7c04eed1a205be0e45866cac
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 15:11:47 2019 -0300
switch format to preferred asciidoctor format
commit 032181d8804137332c71534753929d080a31a71f
Author: Francisco Giordano <frangio.1@gmail.com >
Date: Tue Jun 25 15:05:38 2019 -0300
initialize antora component and convert docs to asciidoc
2019-07-17 17:16:47 -03:00
a83f680a63
Merge branch 'release-v2.3.0'
2019-05-27 13:09:19 -03:00