-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat(taiko-client): introduce payloadQueue
for P2P gossip messages
#19195
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
Merged
Merged
Changes from 32 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
7059f16
feat(taiko-client): introduce `payloadQueue` for P2P gossip messages
davidtaikocha 05f855d
feat: more methods
davidtaikocha c29f276
feat: more methods
davidtaikocha 03654d1
build docker image
mask-pp 954cd9a
build docker image
mask-pp 1d49a30
Merge branch 'main' into p2p-payloadQueue
mask-pp 139faa5
feat: more changes
davidtaikocha 58e0260
feat: more changes
davidtaikocha 32c29f5
Update packages/taiko-client/driver/chain_syncer/blob/blocks_inserter…
davidtaikocha 6d362dd
chore: more comments
davidtaikocha 5c8ea0c
feat: add ValidateExecutionPayload
davidtaikocha 451cb30
chore: update ci
davidtaikocha 15bd193
build
cyberhorsey 1404fe0
log
cyberhorsey aac8c89
rm build
cyberhorsey 62655a2
feat: try RLP decoding
davidtaikocha a169228
Revert "feat: try RLP decoding"
davidtaikocha 9705881
feat: add more tx list checks in ValidateExecutionPayload
davidtaikocha 404bfa2
rm blobsize check, can be spread over multiple blobs
cyberhorsey c1cdc05
can be 6 blobs
cyberhorsey 6fe780d
Merge branch 'main' into p2p-payloadQueue
cyberhorsey fa30d74
bump opt
cyberhorsey b501836
Merge branch 'p2p-payloadQueue' of github.com:taikoxyz/taiko-mono int…
cyberhorsey bd80fd0
chore: go mod tidy
davidtaikocha b75ae3d
fix: fix ci issue
davidtaikocha d494418
fix: fix lint errors
davidtaikocha 76f579b
Merge branch 'main' into p2p-payloadQueue
davidtaikocha adaa23f
feat: use const
davidtaikocha 0c1bc6d
Merge branch 'main' into p2p-payloadQueue
davidtaikocha 342d29c
Merge branch 'main' into p2p-payloadQueue
cyberhorsey a23be5d
add the block hash to the log
cyberhorsey a9ea045
lint
cyberhorsey 73d89f7
Update packages/taiko-client/driver/preconf_blocks/server.go
cyberhorsey 2f9d81e
check parent hash as well, log if its not found
cyberhorsey 0385f5b
dont check parent
cyberhorsey 02202f9
Merge branch 'main' into p2p-payloadQueue
davidtaikocha e13cd75
Merge branch 'main' into p2p-payloadQueue
davidtaikocha 8ea05c4
feat(taiko-client): improve `ImportChildBlocksFromCache` and increase…
davidtaikocha f4d2f92
chore: update ci
davidtaikocha e3cfaa3
Merge branch 'main' into p2p-payloadQueue
davidtaikocha 9bd9780
feat: update maxTrackedPayloads back to 768
davidtaikocha 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,78 +1,59 @@ | ||
# This file configures github.com/golangci/golangci-lint. | ||
|
||
version: "2" | ||
run: | ||
timeout: 20m | ||
tests: true | ||
|
||
issues: | ||
exclude-dirs: | ||
- bindings | ||
|
||
linters: | ||
disable-all: true | ||
default: none | ||
enable: | ||
- bidichk | ||
- bodyclose | ||
- durationcheck | ||
- copyloopvar | ||
- durationcheck | ||
- errcheck | ||
- errchkjson | ||
- errname | ||
- errorlint | ||
- exhaustive | ||
- goconst | ||
- goimports | ||
- gosimple | ||
- govet | ||
- gofmt | ||
- ineffassign | ||
- importas | ||
- ineffassign | ||
- lll | ||
- makezero | ||
- misspell | ||
- misspell | ||
- gosimple | ||
- staticcheck | ||
- staticcheck | ||
- sqlclosecheck | ||
- staticcheck | ||
- stylecheck | ||
- unconvert | ||
- unused | ||
- whitespace | ||
|
||
linters-settings: | ||
gofmt: | ||
simplify: true | ||
goconst: | ||
min-len: 3 | ||
min-occurrences: 6 | ||
goimports: | ||
local-prefixes: github.com/taikoxyz/taiko-mono/packages/taiko-client | ||
|
||
severity: | ||
# Set the default severity for issues. | ||
# | ||
# If severity rules are defined and the issues do not match or no severity is provided to the rule | ||
# this will be the default severity applied. | ||
# Severities should match the supported severity names of the selected out format. | ||
# - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity | ||
# - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#SeverityLevel | ||
# - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message | ||
# - TeamCity: https://www.jetbrains.com/help/teamcity/service-messages.html#Inspection+Instance | ||
# | ||
# Default: "" | ||
default-severity: error | ||
# If set to true `severity-rules` regular expressions become case-sensitive. | ||
# Default: false | ||
case-sensitive: true | ||
# When a list of severity rules are provided, severity information will be added to lint issues. | ||
# Severity rules have the same filtering capability as exclude rules | ||
# except you are allowed to specify one matcher per severity rule. | ||
# Only affects out formats that support setting severity information. | ||
# | ||
# Default: [] | ||
rules: | ||
- linters: | ||
- dupl | ||
severity: info | ||
settings: | ||
goconst: | ||
min-len: 3 | ||
min-occurrences: 6 | ||
exclusions: | ||
generated: lax | ||
presets: | ||
- comments | ||
- common-false-positives | ||
- legacy | ||
- std-error-handling | ||
paths: | ||
- bindings | ||
- third_party$ | ||
- builtin$ | ||
- examples$ | ||
formatters: | ||
enable: | ||
- gofmt | ||
- goimports | ||
settings: | ||
gofmt: | ||
simplify: true | ||
goimports: | ||
local-prefixes: | ||
- github.com/taikoxyz/taiko-mono/packages/taiko-client | ||
exclusions: | ||
generated: lax | ||
paths: | ||
- bindings | ||
- third_party$ | ||
- builtin$ | ||
- examples$ |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.