Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override for testnet committee - L1 Block Number #123

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

ChainDev931105
Copy link
Contributor

Context

Closes: #122


Reviewers

@ChainDev931105 ChainDev931105 requested a review from a team as a code owner June 12, 2024 21:35
contract LagrangeCommitteeTestnet is LagrangeCommittee {
constructor(ILagrangeService _service, IVoteWeigher _voteWeigher) LagrangeCommittee(_service, _voteWeigher) {}

function update(uint32 chainID, uint256 epochNumber) external override {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this structure is annoying, need to create a new function

@ChainDev931105 ChainDev931105 merged commit dcc10cb into develop Jun 18, 2024
3 checks passed
@ChainDev931105 ChainDev931105 deleted the testnet-override branch June 18, 2024 11:44
ChainDev931105 added a commit that referenced this pull request Jul 30, 2024
* fix: clean up and add LICENSE (#78)

* clean up code

* clean build

* update license

* add audit reports

* fix committee.test.js (#79)

* revert epoch (#85)

* adjust operator count (#84)

* add workflow (#89)

* feat: update the BLS key and signer address (#88)

* allow to update the bls keys and signer address

* add tests

---------

Co-authored-by: Master Engineer <[email protected]>

* FEAT: Allow to update epoch period (#93)

* epoch_modifi draft

* update epoch formula

* fix reviewed issues

* fix reviewed issues

* fix naming of getEpochNumber

* epoch period modify unit test (#97)

* CHORE: Epoch period modify simulation (#98)

* simulation test for epoch period modify

* fix issue in redeloy script

* format

* fix: avoid to remove all bls pub keys (#102)

* fix the remove bls keys

* more tests

* Workflow with solhint (#101)

* solhint cli

* update solhint checkpoints

* Update contracts/protocol/VoteWeigher.sol

Co-authored-by: cool-developer <[email protected]>

---------

Co-authored-by: cool-developer <[email protected]>

* FEAT: eject operator (#105)

* feat eject operator

* fix reviewed errors

* strengthen test

* unsubscribe multiple operators

* FEAT: Deploy to Sepolia (#106)

* deploy sepolia

* testnet deploy script

Co-authored-by: cool-developer <[email protected]>

* add eigen sepolia addresses

---------

Co-authored-by: cool-developer <[email protected]>

* add fork test for rotate and revert (#107)

* Docker workflow (#109)

* push-docker yml

* add permission makefile

* push-docker-test

* install forge build

* remove test yml

* CHORE: Script for register chain (#108)

* add register chain script

* update epoch period

* update min/max weight

* update genersis block

* add basescript

* script eject op

* [FIX] Register operator sleep (#110)

* fix register-operator sleep

* remove test yml

* archive mode geth (#112)

* fix: geth docker cmd (#113)

* archive mode geth

* fix

* [Fix] audited issues (#115)

* fix audit issues

* add audit report

* Make epoch period flexible (#118)

* epoch period flexible

* test for epoch period flex

* add simulation test for flex period

* fix epoch period for prior blocks

* flow auto release (#127)

* add issue templates (#130)

* Script - Transfer ownership (#121)

* forge install: safe-smart-account

499b17ad0191b575fcadc5cb5b8e3faeae5391ae

* script transfer ownership

* Override for testnet committee - L1 Block Number (#123)

* testnet l1bias override

* fix annoying function naming

* feat: bls key ownership check (#138)

* bls key ownership check

* unit test & inherit checker

* optimize epoch number search

* fork test bls own check

* update storage hash

---------

Co-authored-by: ChainDev931105 <[email protected]>

* epic sequencer bls key (#140)

* Revert "epic sequencer bls key (#140)" (#141)

This reverts commit 1e57449.

* fix deploy-register (#142)

* fix

* [FIX] Audit Issues - Main (#149)

* Update README.md (#136)

* [FIX] script redeploy testnet (#144)

* fix script redeploy testnet

* fix get_updated_l1_block

* solc version 0.8.20, blsKeyChecker issue

* digest hash add version field

* hardhat solidity version update

---------

Co-authored-by: cool-developer <[email protected]>

---------

Co-authored-by: Master Engineer <[email protected]>
Co-authored-by: ChainDev <[email protected]>
Co-authored-by: Kashish Shah <[email protected]>
Co-authored-by: ChainDev931105 <[email protected]>
ChainDev931105 added a commit that referenced this pull request Aug 26, 2024
* fix: clean up and add LICENSE (#78)

* clean up code

* clean build

* update license

* add audit reports

* fix committee.test.js (#79)

* revert epoch (#85)

* adjust operator count (#84)

* add workflow (#89)

* feat: update the BLS key and signer address (#88)

* allow to update the bls keys and signer address

* add tests

---------

Co-authored-by: Master Engineer <[email protected]>

* FEAT: Allow to update epoch period (#93)

* epoch_modifi draft

* update epoch formula

* fix reviewed issues

* fix reviewed issues

* fix naming of getEpochNumber

* epoch period modify unit test (#97)

* CHORE: Epoch period modify simulation (#98)

* simulation test for epoch period modify

* fix issue in redeloy script

* format

* fix: avoid to remove all bls pub keys (#102)

* fix the remove bls keys

* more tests

* Workflow with solhint (#101)

* solhint cli

* update solhint checkpoints

* Update contracts/protocol/VoteWeigher.sol

Co-authored-by: cool-developer <[email protected]>

---------

Co-authored-by: cool-developer <[email protected]>

* FEAT: eject operator (#105)

* feat eject operator

* fix reviewed errors

* strengthen test

* unsubscribe multiple operators

* FEAT: Deploy to Sepolia (#106)

* deploy sepolia

* testnet deploy script

Co-authored-by: cool-developer <[email protected]>

* add eigen sepolia addresses

---------

Co-authored-by: cool-developer <[email protected]>

* add fork test for rotate and revert (#107)

* Docker workflow (#109)

* push-docker yml

* add permission makefile

* push-docker-test

* install forge build

* remove test yml

* CHORE: Script for register chain (#108)

* add register chain script

* update epoch period

* update min/max weight

* update genersis block

* add basescript

* script eject op

* [FIX] Register operator sleep (#110)

* fix register-operator sleep

* remove test yml

* archive mode geth (#112)

* fix: geth docker cmd (#113)

* archive mode geth

* fix

* [Fix] audited issues (#115)

* fix audit issues

* add audit report

* Make epoch period flexible (#118)

* epoch period flexible

* test for epoch period flex

* add simulation test for flex period

* fix epoch period for prior blocks

* flow auto release (#127)

* add issue templates (#130)

* Script - Transfer ownership (#121)

* forge install: safe-smart-account

499b17ad0191b575fcadc5cb5b8e3faeae5391ae

* script transfer ownership

* Override for testnet committee - L1 Block Number (#123)

* testnet l1bias override

* fix annoying function naming

* feat: bls key ownership check (#138)

* bls key ownership check

* unit test & inherit checker

* optimize epoch number search

* fork test bls own check

* update storage hash

---------

Co-authored-by: ChainDev931105 <[email protected]>

* epic sequencer bls key (#140)

* Revert "epic sequencer bls key (#140)" (#141)

This reverts commit 1e57449.

* fix deploy-register (#142)

* update readme

---------

Co-authored-by: cool-developer <[email protected]>
Co-authored-by: Master Engineer <[email protected]>
Co-authored-by: Kashish Shah <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Override committee for testnet - L1 block number
2 participants