-
Notifications
You must be signed in to change notification settings - Fork 449
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
Implement Gnosis beacon chain push withdrawals #5160
Conversation
src/Nethermind/Nethermind.Consensus/Withdrawals/BlockProductionWithdrawalProcessor.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeBlockProducerEnvFactory.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus.AuRa/Withdrawals/WithdrawalContractFactory.cs
Outdated
Show resolved
Hide resolved
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 good. I left a few comments. Apart from that, I would like to make sure that WithdrawalContractAdress
allows for block => address
configuration, so that we can hardfork into new withdrawal contract if needed. BlockRewardsContractAddress
in chainspec already works like this, we want to replicate that functionality for withdrawals on chainspec loading.
src/Nethermind/Nethermind.Specs/ChainSpecStyle/AuRaParameters.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs
Outdated
Show resolved
Hide resolved
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.
You are modifing and adding stuff in Nethermind.Consensus.AuRa
while it should be Nethermind.Merge.AuRa
.
src/Nethermind/Nethermind.Consensus.AuRa/Contracts/WithdrawalContract.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus.AuRa/Withdrawals/WithdrawalContractFactory.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus.AuRa/InitializationSteps/InitializeBlockchainAuRa.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus.AuRa/Withdrawals/WithdrawalProcessor.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Consensus.AuRa/Withdrawals/WithdrawalProcessor.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Merge.AuRa/AuRaMergeBlockProducerEnvFactory.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Specs/ChainSpecStyle/AuRaParameters.cs
Outdated
Show resolved
Hide resolved
src/Nethermind/Nethermind.Specs/ChainSpecStyle/Json/ChainSpecJson.cs
Outdated
Show resolved
Hide resolved
@LukaszRozmej What exactly should go to |
@rubo I think everything, unless we need to expose something from original AuRa. Original AuRa is still in use on some networks like EWC and it doesn't have the concept of withdrawals. |
…eature/aura-withdrawals
src/Nethermind/Nethermind.Merge.AuRa/Withdrawals/ContractWithdrawalProcessor.cs
Outdated
Show resolved
Hide resolved
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.
Let's resolve the last comments before merging
3228cdb
to
97af58d
Compare
97af58d
to
2507ef5
Compare
Resolves #5159
Changes
Types of changes
What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?