-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: milestone 1 - replay 30% of all sepolia transactions (#1201) #1236
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Michał Walczak <[email protected]>
…onfiguration options (#2) Signed-off-by: Michał Walczak <[email protected]>
…rror messages (#2) Signed-off-by: Michał Walczak <[email protected]>
Signed-off-by: Michał Walczak <[email protected]>
Signed-off-by: Michał Walczak <[email protected]>
Test Results 17 files ± 0 103 suites ±0 24m 39s ⏱️ + 8m 15s For more details on these failures, see this check. Results for commit 206bba6. ± Comparison against base commit 3aa1542. This pull request removes 5 and adds 38 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
a3f9bf0
to
21bd47d
Compare
…-from-go-to-ts feat: transaction checker app (#2)
Signed-off-by: mp-arianelabs <[email protected]>
…tory chore: move all of the shadowing services to scripts folder (#7)
Signed-off-by: mp-arianelabs <[email protected]>
docs: review documentation (#5)
Signed-off-by: mp-arianelabs <[email protected]>
Signed-off-by: mp-arianelabs <[email protected]>
…ecker-handles-logs feat: add new csv loggers for each file, new options to csv logger (#3)
Signed-off-by: mp-arianelabs <[email protected]>
Signed-off-by: mp-arianelabs <[email protected]>
Signed-off-by: mp-arianelabs <[email protected]>
…eadmes chore: update folder naming and READMEs (#15)
21bd47d
to
206bba6
Compare
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.
Got like a third of the way through. See initial set of comments that may apply to many other files
### Description | ||
|
||
Goal of the Hedera shadowing process is to research the Hedera EVM and Ethereum EVM equivalence. | ||
This is achieved by re-executing all Ethereum transaction on by one on local Hedera network. Each transaction is verified by states match. |
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 is achieved by re-executing all Ethereum transaction on by one on local Hedera network. Each transaction is verified by states match. | |
This is achieved by re-executing all Ethereum transaction one by one on a local Hedera network. Each transaction is verified by states match. |
### Description | ||
|
||
Goal of the Hedera shadowing process is to research the Hedera EVM and Ethereum EVM equivalence. | ||
This is achieved by re-executing all Ethereum transaction on by one on local Hedera network. Each transaction is verified by states match. |
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 clarify the states match.
It may not be clear to a reader if you are comparing balance or storage or both?
This is an outline of what the script does: | ||
|
||
1. First step populates the empty Hedera local node with Sepolia genesis block accounts and assigns them proper balances by transferring funds from the treasury account in Hedera (Account Id 0.0.2). The genesis state is provided from [genesis_block_transactions.json](./src/genesis_block_transactions.json). | ||
2. The last block from Sepolia is read, we iterate through all the block in a loop, starting from genesis block. |
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.
The last block from Sepolia is read
make the rest of the sentence unclear
|
||
1. First step populates the empty Hedera local node with Sepolia genesis block accounts and assigns them proper balances by transferring funds from the treasury account in Hedera (Account Id 0.0.2). The genesis state is provided from [genesis_block_transactions.json](./src/genesis_block_transactions.json). | ||
2. The last block from Sepolia is read, we iterate through all the block in a loop, starting from genesis block. | ||
3. For each block its miners and uncles are read. The reward for block calculated is sent to an account in Hedera using the `TransferTransaction` method from the Hashgraph SDK. |
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.
Maybe add something like this
3. For each block its miners and uncles are read. The reward for block calculated is sent to an account in Hedera using the `TransferTransaction` method from the Hashgraph SDK. | |
3. For each block its miners and uncles are read. The reward for block calculated is sent to an account in Hedera using the `TransferTransaction` method from the Hashgraph SDK. This is necessary to ensure node account balances are accurate as Ethereum and Hedera rewards nodes in different ways. |
@@ -0,0 +1,66 @@ | |||
## Foundry |
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 is a cop of the foundry README.
This should be updated with relevant content
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.
The content should include explaining what scripts/ethereum-shadow-network/hedera-ethereum-shadowing/contracts/storage/broadcast/Storage.s.sol/296/run-1726229520.json
and others do
@@ -0,0 +1,19 @@ | |||
// SPDX-License-Identifier: UNLICENSED |
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.
License headers should be Apache i believe. Confirm with the other contract files in this repo.
@@ -0,0 +1,50 @@ | |||
{ | |||
"name": "hedera-eth-shadowing", |
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.
Fully qualify name with github org
@@ -0,0 +1,22 @@ | |||
import axios from 'axios'; |
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.
missing license on all ts files
@@ -0,0 +1,20 @@ | |||
import { axiosInstanceErigon } from '@/api/config'; |
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 file seems like a subset of the next file. Are both needed?
client.setOperator(accountId, OPERATOR_PRIVATE || ''); | ||
|
||
(() => { | ||
// No gass error issue |
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.
Why the commented out code?
If it's not needed then remove it
Description:
This Epic covers the effort to replay 30% of all Sepolia transactions and includes tasks related to code cleanup and repository migration. The goal is to reach 30% transaction replay by the end of January. Successful completion of this milestone will require the resolution of several key issues within the forked repository.
This PR includes:
Related issue:
Fixes #1201
Notes for reviewer:
Checklist