Skip to content

Make cfxtruffle work correctly with openzeppelin's upgradable contracts.

Notifications You must be signed in to change notification settings

IdeaLightLabs/cfxtruffle-openzeppelin-patches

Repository files navigation

cfxtruffle-openzeppelin-patches

The patches are created to make cfxtruffle work correctly with openzeppelin's upgradable contracts.

Notice: The patches require the truffle-cfx-patch npm package to work. Please install truffle-cfx-patch and configure the project files FIRST.

Usage

  1. Copy *.patch to the /patches folder of your project.

  2. Add a script in package.json:

"postinstall": "patch-package"
  1. Install patch-package
yarn add -D patch-package

Tested

The patches has been tested working fine with cfxtruffle@1.0.2 / @openzeppelin/truffle-upgrades@1.15.0, both deployProxy and upgradeProxy.

About

Make cfxtruffle work correctly with openzeppelin's upgradable contracts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published