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

evm: add whitelist deployer v2 #344

Merged
merged 10 commits into from
Sep 26, 2023

Conversation

huyngopt1994
Copy link
Collaborator

@huyngopt1994 huyngopt1994 commented Aug 17, 2023

  • Add whitelist deployer v2
  • Add Unit Test
  • Self Test

@minh-bq
Copy link
Contributor

minh-bq commented Aug 18, 2023

Please follow the convention in other PRs and squash the commits

common/types.go Outdated Show resolved Hide resolved
core/state/statedb_utils.go Outdated Show resolved Hide resolved
core/state/statedb_utils.go Outdated Show resolved Hide resolved
core/state/statedb_utils.go Outdated Show resolved Hide resolved
core/state/statedb_utils.go Outdated Show resolved Hide resolved
core/vm/statedb_utils_test.go Outdated Show resolved Hide resolved
core/vm/statedb_utils_test.go Outdated Show resolved Hide resolved
core/vm/statedb_utils_test.go Outdated Show resolved Hide resolved
@huyngopt1994 huyngopt1994 changed the title Add whitelist deployer v2 evm: add whitelist deployer v2 Aug 18, 2023
core/state/statedb.go Outdated Show resolved Hide resolved
@minh-bq
Copy link
Contributor

minh-bq commented Sep 26, 2023

ronin/params/config.go

Lines 633 to 637 in 83c8375

chainConfigFmt := "{ChainID: %v Homestead: %v DAO: %v DAOSupport: %v EIP150: %v EIP155: %v EIP158: %v Byzantium: %v Constantinople: %v "
chainConfigFmt += "Petersburg: %v Istanbul: %v, Odysseus: %v, Fenix: %v, Muir Glacier: %v, Berlin: %v, London: %v, Arrow Glacier: %v, "
chainConfigFmt += "Engine: %v, Blacklist Contract: %v, Fenix Validator Contract: %v, ConsortiumV2: %v, ConsortiumV2.RoninValidatorSet: %v, "
chainConfigFmt += "ConsortiumV2.SlashIndicator: %v, ConsortiumV2.StakingContract: %v, Puffy: %v, Buba: %v, Olek: %v, Shillin: %v, "
chainConfigFmt += "ConsortiumV2.ProfileContract: %v, ConsortiumV2.FinalityTracking: %v}"

We should input the new configuration here to get it logged on startup

params/config.go Outdated Show resolved Hide resolved
params/config.go Outdated Show resolved Hide resolved
params/config.go Show resolved Hide resolved
@huyngopt1994 huyngopt1994 merged commit 923653f into axieinfinity:master Sep 26, 2023
1 check passed
andicrypt pushed a commit to andicrypt/ronin that referenced this pull request Nov 1, 2023
* evm: add whitelist deployer v2

* statedb-utils: Add unit testing

* Update Antennablock for testnet

* Add params and update block in genesis

* Update check compatibility and params config
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.

3 participants