Skip to content

Commit

Permalink
Make BitcoinLightClient upgradeable (#803)
Browse files Browse the repository at this point in the history
* Make light client contract upgradeable

* Adapt the test suite to make BLC upgradeable

* forge install: openzeppelin-contracts

v5.0.2

* Fix genesis

* Fix base fee calc in test

* Fix a remaining genesis file

* Fix sys tx tests config data

* Fix sys tests config

* change mock genesis

* Fix getCode expectations

* Fix hardcoded gas values

* Sync genesis files

* fix typo

* test fixes
  • Loading branch information
okkothejawa authored Jun 27, 2024
1 parent 8b0d3fb commit 1db6c7a
Show file tree
Hide file tree
Showing 17 changed files with 174 additions and 35 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
[submodule "crates/evm/src/evm/system_contracts/lib/bitcoin-spv"]
path = crates/evm/src/evm/system_contracts/lib/bitcoin-spv
url = https://github.com/keep-network/bitcoin-spv
[submodule "crates/evm/src/evm/system_contracts/lib/openzeppelin-contracts"]
path = crates/evm/src/evm/system_contracts/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "crates/evm/src/evm/system_contracts/lib/openzeppelin-contracts-upgradeable"]
path = crates/evm/src/evm/system_contracts/lib/openzeppelin-contracts-upgradeable
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
2 changes: 1 addition & 1 deletion bin/citrea/tests/e2e/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2097,7 +2097,7 @@ async fn transaction_failing_on_l1_is_removed_from_mempool() -> Result<(), anyho

let random_wallet_address = random_wallet.address();

let second_block_base_fee = 768810081;
let second_block_base_fee = 768881663;

let _pending = seq_test_client
.send_eth(
Expand Down
4 changes: 2 additions & 2 deletions bin/citrea/tests/evm/ethers_js/test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1db6c7a

Please sign in to comment.