Skip to content

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 [email protected] / @openzeppelin/[email protected], 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