Skip to content

Conversation

fedekunze
Copy link
Collaborator

@fedekunze fedekunze commented Feb 6, 2023

Description

This PR restricts the Evmos codebase from working with chain IDs other than 9000 and 9001


Closes https://linear.app/evmos/issue/ENG-1485/restrict-chain-ids-on-evmos

@linear
Copy link

linear bot commented Feb 8, 2023

ENG-1485 Restrict chain IDs on Evmos

Prevent the use of the EVM from other ID other than Evmos' (9000 and 9001).

Scope of Work

  • Add check on messages
  • Add check on Keeper

@GAtom22 GAtom22 marked this pull request as ready for review February 8, 2023 19:51
@GAtom22 GAtom22 requested a review from a team as a code owner February 8, 2023 19:51
@GAtom22 GAtom22 requested review from GAtom22, MalteHerrmann, Vvaradinov and facs95 and removed request for a team February 8, 2023 19:51
@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #1349 (2d1c80d) into main (ca9af97) will decrease coverage by 0.05%.
The diff coverage is 71.42%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1349      +/-   ##
==========================================
- Coverage   71.59%   71.55%   -0.05%     
==========================================
  Files         256      256              
  Lines       17509    17544      +35     
==========================================
+ Hits        12536    12554      +18     
- Misses       4417     4431      +14     
- Partials      556      559       +3     
Impacted Files Coverage Δ
x/evm/types/dynamic_fee_tx.go 90.37% <33.33%> (-2.93%) ⬇️
x/evm/types/legacy_tx.go 91.72% <57.14%> (-3.70%) ⬇️
rpc/backend/sign_tx.go 60.95% <100.00%> (+1.14%) ⬆️
x/evm/keeper/keeper.go 86.93% <100.00%> (+1.29%) ⬆️
x/evm/types/access_list_tx.go 92.59% <100.00%> (+0.38%) ⬆️
rpc/backend/call_tx.go 59.73% <0.00%> (-1.33%) ⬇️
x/evm/types/msg.go 80.08% <0.00%> (-1.30%) ⬇️

@facs95 facs95 merged commit 7a6d9b7 into main Feb 8, 2023
@facs95 facs95 deleted the fedekunze/chain-id branch February 8, 2023 23:32
mtsitrin added a commit to dymensionxyz/evmos that referenced this pull request Jun 21, 2023
@Yurist-85
Copy link

Yurist-85 commented Sep 18, 2023

Can someone explain this breaking change?

@Yurist-85
Copy link

Maybe @facs95 knows the reason?

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.

4 participants