-
Notifications
You must be signed in to change notification settings - Fork 807
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
Firehose EVM tracer addition #1344
Open
maoueh
wants to merge
25
commits into
sei-protocol:main
Choose a base branch
from
streamingfast:feature/firehose-tracer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 13 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e73963a
Firehose tracer addition
maoueh aa512a8
Merge tag 'v5.1.2' into release/firehose
maoueh e6bdc65
Merge tag 'v5.2.0' into release/firehose
maoueh e05ef46
Firehose tracer addition
maoueh ad9f914
Merge tag 'v5.5.2' into feature/firehose-tracer
maoueh 16f73c4
Merge branch 'feature/firehose-tracer' into release/firehose
maoueh cccdf48
Improved panic handling ensuring we always print a stack trace when F…
maoueh ab01128
Improved caller reporting when there is an invalid state
maoueh 67bd0af
Fixed bug with system call not correctly wired leading to panics when…
maoueh 8418897
The tracing in `precompiles/bank/bank.go` needs to use `GetEVMAddress…
maoueh ec72741
Merge tag 'v5.5.5' into feature/firehose-tracer
maoueh 794b793
Merge remote-tracking branch 'origin/main' into feature/firehose-tracer
maoueh 8fafa3d
Merge branch 'main' into feature/firehose-tracer
maoueh 98994b7
Fix seidb default config value for KeepLastVersion
yzang2019 9612ef1
Fix unit test
yzang2019 9dd002e
Update go mod
yzang2019 6bad612
Add upgrade handler for v5.6.2
udpatil 2cc7a28
Merge tag 'v5.6.2' into feature/firehose-tracer-at-latest-release-tag
maoueh 8c44484
Merge branch 'feature/firehose-tracer-at-latest-release-tag' into fea…
maoueh 23c925f
Merge remote-tracking branch 'origin/main' into feature/firehose-tracer
maoueh e7096af
Fixed a bug on parallel execution
maoueh ebbaa2e
Fixed missing handling of some system calls when running using the pa…
maoueh dbd9193
Fixed bug when re-ordering multiple system calls
maoueh 8a8244d
Go mod tidy
maoueh 53cecd5
Merge branch 'feature/firehose-tracer-at-latest-release-tag' into fea…
maoueh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: v1 | ||
plugins: | ||
- plugin: buf.build/protocolbuffers/go:v1.31.0 | ||
out: pb | ||
opt: paths=source_relative | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package pbeth | ||
|
||
import ( | ||
"encoding/hex" | ||
"math/big" | ||
"time" | ||
) | ||
|
||
var b0 = big.NewInt(0) | ||
|
||
func (b *Block) PreviousID() string { | ||
return hex.EncodeToString(b.Header.ParentHash) | ||
} | ||
|
||
func (b *Block) Time() time.Time { | ||
return b.Header.Timestamp.AsTime() | ||
} | ||
|
||
func (m *BigInt) Native() *big.Int { | ||
if m == nil { | ||
return b0 | ||
} | ||
|
||
z := new(big.Int) | ||
z.SetBytes(m.Bytes) | ||
return z | ||
} |
Oops, something went wrong.
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.
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 put this config under either https://github.com/sei-protocol/sei-chain/blob/main/x/evm/querier/config.go or a new config section, since it's used in the actual processing and not an RPC-side thing
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.
I'll do
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.
What about:
Does that sounds good?