Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
BCF-2492 Remove evm default chain id #10490
BCF-2492 Remove evm default chain id #10490
Changes from 51 commits
2de282d
63d8a6f
99096ab
48ca938
6e1d5a0
6fbea6b
58df0cf
587c0d8
fbcd0b6
ecca443
6d04fc6
f8c55ea
37790d8
1b79c95
5881147
082174a
b4236d3
b887874
8868ada
fff8fc6
598b341
4e3f8b4
096706b
e133425
93b392c
0c9c3e3
89d112e
29f84d7
353557f
c728bda
dfc4c5c
2b38531
0ade421
f93ec01
87bf52d
b8fb5ec
fe42327
2a6624b
568632b
e8ca0f5
3a2b560
792ffac
d3d05da
9f8e1b7
91b1e29
3a18f6a
490d153
51e66de
aafc41c
ef7d1a3
220050f
4982867
24556cb
575b15b
164bb39
ba4ac9e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me, but I'm not 100% sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you find the author of this code and confirm the removal? i'm surprised that we have to touch keystore migrations with this change, and we have to 100% certain that this is ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like @samsondav and @RyanRHall touched this code the most. Sam already approved, maybe Ryan can give some input here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
am i reading it correctly - the existing behavior was to migrate to the default chain. now we are going to migrate to all of the chains?
my reading of Migrate is that it does a bunch of stuff to a bunch of different kind of keys. i'm not convinced it was intended to be called multiple times.
maybe we need to split it up and call the evm-specific part once per chain? or change it to take a slice of evm keys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@krehermann removing the keystore migrations is 100% fine. That code is over 2 years stale at some point. No need to maintain it. Asking @ilija42 to create a ticket to fully deprecate the v1 keystore at some point also :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After a brief discussion with @RyanRHall it seems like this code is obsolete, so it can be just deleted.
We don't permit creating new v1 keys anymore. So all v1 keys should have been migrated by now.