Skip to content

Commit

Permalink
feat(contracts): make Consensus contract upgradable (#763)
Browse files Browse the repository at this point in the history
* forge install: forge-std

v1.9.4

* forge install: openzeppelin-foundry-upgrades

v0.3.6

* forge install: openzeppelin-contracts-upgradeable

v5.1.0

* Add remappings

* Make contract upgradable

* Add initializer

* Remove forge-std

* Use remapping.txt

* Use proxy

* Test proxy

* Test data after upgrade

* Test version

* Update abi

* Add ERC1967Proxy

* Update proxy

* Deploy proxy contract

* Use proxy address contract

* Fix genesis block

* Update crypto

* Update e2e

* Remove log

* Remove log
  • Loading branch information
sebastijankuzner authored Nov 16, 2024
1 parent 348a089 commit b84b898
Show file tree
Hide file tree
Showing 90 changed files with 2,119 additions and 28,651 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "contracts/lib/forge-std"]
path = contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "contracts/lib/openzeppelin-foundry-upgrades"]
path = contracts/lib/openzeppelin-foundry-upgrades
url = https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades
[submodule "contracts/lib/openzeppelin-contracts-upgradeable"]
path = contracts/lib/openzeppelin-contracts-upgradeable
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
1 change: 0 additions & 1 deletion contracts/forge-std/.gitattributes

This file was deleted.

128 changes: 0 additions & 128 deletions contracts/forge-std/.github/workflows/ci.yml

This file was deleted.

31 changes: 0 additions & 31 deletions contracts/forge-std/.github/workflows/sync.yml

This file was deleted.

4 changes: 0 additions & 4 deletions contracts/forge-std/.gitignore

This file was deleted.

203 changes: 0 additions & 203 deletions contracts/forge-std/LICENSE-APACHE

This file was deleted.

Loading

0 comments on commit b84b898

Please sign in to comment.