forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Datablob transactions #1
Draft
protolambda
wants to merge
61
commits into
base
Choose a base branch
from
datablobs
base: base
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.
Draft
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
92d7fa9
core/types: data blob transaction type and signer
protolambda 562723e
accounts,signer: blob tx signer support
protolambda 6bc5155
params/conf: add sharding fork defn
lightclient 1d43675
all: add data hashes to evm msg
lightclient 7c62e93
core/vm: impl DATAHASH opcode
lightclient e552a93
params: update gas per blob parameter to 120k
lightclient 46a4b31
core/vm: use correct gas price for DATAHASH
lightclient 59dc43f
core/types/data_blob_tx: grab correct r,s values from signature
lightclient 5e37223
core/types/transaction_signing: use dank signer when needed
lightclient e61cf36
core/types/transaction: grab data hashes from blob txs for message
lightclient 78187b8
core: add test for data blob txs
lightclient 89c1e27
all: fix intrinsic gas calls in various tests
lightclient 7a3a455
Merge pull request #2 from lightclient/simple-blob
protolambda 204c556
work in progress, tx wrapper for blob tx pool / journal / block build…
protolambda cbcdcdd
core/types: implement data blob / kzg and lists ssz encoding
protolambda 5b878b7
Import go-kzg to geth
asn-d6 dbfa618
Introduce dummy KZG trusted setup generator
asn-d6 72eced9
Introduce KZG crypto module (that implements the funcs from the mini-…
asn-d6 f83107f
Introduce unittests for KZG and the trusted setup
asn-d6 f4f1230
Add the trusted setup json data as a go file
asn-d6 9da9ab7
Introduce blobVerification precompile
asn-d6 b5c5515
Introduce blobVerification precompile test vector
asn-d6 b7db064
Introduce pointEvaluation precompile
asn-d6 5e18fbd
Introduce pointEvaluation precompile test vector (happy case)
asn-d6 cfb0440
eth/catalyst: GetBlobV1
protolambda b2d3882
go.mod,go.sum: update bls/kzg libs
protolambda b1dc9bc
go.mod,go.sum: update KZG lib
protolambda ff1a74f
core/vm,crypto/kzg,tests: update data blob kzg to use From/To Compres…
protolambda 21836f0
core/types,crypto/kzg,signer: compute KZG commitment from raw blob data
protolambda e0b5cde
Update test vectors for blobVerification/pointEvaluation
asn-d6 f500191
Remove go-kzg dependency from kzg crypto module
asn-d6 96bf205
core/types: blob kzgs list ssz vector->list fix, fix blob tx encoding…
protolambda a38a121
core/types: test dynamic fee and blob tx binary+json encoding
protolambda 803f31e
core: don't reinject incomplete transactions on reorg
protolambda c971490
core/types: encode/decode the block with transactions the minimal way
protolambda d19e6ee
core: consider blobs count for intrinsic gas check
protolambda a922276
Merge pull request #3 from asn-d6/prune-gokzg
protolambda 587a212
eth/catalyst: implement GetBlobsBundleV1 - EIP-4844 engine api extension
protolambda 4b0c1cb
core/types: compute kzgs for blobs list
protolambda e9279d9
accounts,internal/ethapi: blob transaction api arguments
protolambda 5fa43da
signer/core/apitypes: fix wrap-data NewTx option
protolambda e539920
core/types: fix marshal/unmarshal text Blob type, BLSFieldElement, KZ…
protolambda 184ba49
Add functions to extract the crypto out of Blobs/KZGCommitment/BlobKzgs
asn-d6 6cd16f1
Use optimized VerifyBlobs() function
asn-d6 dafbb4d
Add unittest for VerifyBlobs() function
asn-d6 0c236b0
kzg: Rename CRS variables to match the EIP naming
asn-d6 9f6e026
kzg: Document kzg code further
asn-d6 5009206
core/types: clean up blob and commitment parse methods, use ptr recei…
protolambda f80048e
tests: blob test update, Parse blobs/commitments, fix mutation on copy
protolambda d48a83e
params,core/types: remove duplicate kzg version param
protolambda 52abcb8
core/vm,crypto/kzg,tests: remove versioned-hash func from crypto, app…
protolambda 6e4051e
tests: benchmark kzg funcs
protolambda db23602
crypto/kzg: batch verification for multiple txs
protolambda d3ab1dd
core/types: support blobs batch-verify of multiple txs
protolambda 6f21779
core: refactor TxPool.add and .addTxsLocked to batch-verify txs
protolambda bfe1f35
Update LatestSignerForChainID() to return a danksigner by default
asn-d6 7512b91
Transaction inner size should be computed on-demand
asn-d6 f87c6d6
Include versioned hashes when creating a transaction using the JSON-R…
asn-d6 d6fb210
Merge pull request #5 from asn-d6/eip4844-tooling
protolambda b58bd6e
remove blob verification precompile in favor of point evaluation prec…
protolambda ff35a44
fix lint
protolambda 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
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.
Naming nitpick:
s/aggregateBlob/aggregateScalar
It's not actually a single blob that is aggregated in every
aggregateBlob
scalar; it's actually all the blobs.