Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

evm: fix Chain ID derivation #579

Merged
merged 5 commits into from
Sep 21, 2021
Merged

evm: fix Chain ID derivation #579

merged 5 commits into from
Sep 21, 2021

Conversation

fedekunze
Copy link
Contributor

@fedekunze fedekunze commented Sep 21, 2021

  • Update DeriveChainID to handle input values where v < 35
  • Update comments
  • Add and update test cases

cc @odeke-em

@orijbot
Copy link

orijbot commented Sep 21, 2021

1 similar comment
@orijbot
Copy link

orijbot commented Sep 21, 2021

@codecov
Copy link

codecov bot commented Sep 21, 2021

Codecov Report

Merging #579 (4dc00c3) into main (1a01c6a) will increase coverage by 0.13%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #579      +/-   ##
==========================================
+ Coverage   52.40%   52.53%   +0.13%     
==========================================
  Files          64       64              
  Lines        5265     5276      +11     
==========================================
+ Hits         2759     2772      +13     
+ Misses       2352     2350       -2     
  Partials      154      154              
Impacted Files Coverage Δ
x/evm/keeper/utils.go 70.31% <100.00%> (+4.24%) ⬆️
x/evm/types/tx_data.go 80.95% <100.00%> (+6.59%) ⬆️

@github-actions github-actions bot removed the C:x/evm EVM module label Sep 21, 2021
@fedekunze fedekunze marked this pull request as ready for review September 21, 2021 11:13
@fedekunze fedekunze enabled auto-merge (squash) September 21, 2021 11:22
@fedekunze fedekunze merged commit d84837a into main Sep 21, 2021
@fedekunze fedekunze deleted the fedekunze/derive-chain-id branch September 21, 2021 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants