Skip to content

Commit

Permalink
support bsp export for eip-4844 blob tx
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <[email protected]>
  • Loading branch information
noslav committed Mar 13, 2024
1 parent 5b963a2 commit 5533fae
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 27 deletions.
64 changes: 64 additions & 0 deletions codec/block-ethereum.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,70 @@
{
"name":"input",
"type":"string"
},
{
"name":"blobFeeCap",
"type":[
"null",
{
"type":"bytes",
"logicalType":"decimal",
"precision":1000
}
],
"default":"null"
},
{
"name":"blobHashes",
"type":[
"null",
{
"type":"array",
"items":"string"
}
],
"default":"null"
},
{
"name":"blobGas",
"type":[
"null",
"int"
],
"default":"null"
},
{
"name":"blobTxSideCar",
"type":{
"name":"blobTxSideCar",
"type":"record",
"fields":[
{
"name":"Blobs",
"type":[
"null",
"string"
],
"default":"null"
},
{
"name":"Commitments",
"type":[
"null",
"string"
],
"default":"null"
},
{
"name":"Proofs",
"type":[
"null",
"string"
],
"default":"null"
}
]
}
}
]
}
Expand Down
32 changes: 20 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ require (
github.com/covalenthq/lenspath v0.3.2
github.com/covalenthq/lumberjack/v3 v3.0.1
github.com/elodina/go-avro v0.0.0-20160406082632-0c8185d9a3ba
github.com/ethereum/go-ethereum v1.11.5
github.com/ethereum/go-ethereum v1.13.14
github.com/go-redis/redis/v7 v7.4.1
github.com/golang/snappy v0.0.4
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb
github.com/gorilla/websocket v1.5.1
github.com/ipfs/go-cid v0.1.0
github.com/kelseyhightower/envconfig v1.4.0
Expand All @@ -26,32 +26,40 @@ require (

require (
cloud.google.com/go/bigquery v1.50.0 // indirect
github.com/VictoriaMetrics/fastcache v1.10.0 // indirect
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 // indirect
github.com/apache/arrow/go/v7 v7.0.0 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/benbjohnson/immutable v0.3.0 // indirect
github.com/bits-and-blooms/bitset v1.10.0 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
github.com/edsrzf/mmap-go v1.1.0 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/gofrs/uuid v3.3.0+incompatible // indirect
github.com/golang-jwt/jwt/v4 v4.4.1 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/google/flatbuffers v2.0.8+incompatible // indirect
github.com/holiman/uint256 v1.2.0 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/influxdata/flux v0.170.1 // indirect
github.com/influxdata/influxql v1.1.1-0.20211004132434-7e7d61973256 // indirect
github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097 // indirect
github.com/mmcloughlin/addchain v0.4.0 // indirect
github.com/oapi-codegen/runtime v1.0.0 // indirect
github.com/onsi/gomega v1.19.0 // indirect
github.com/pierrec/lz4/v4 v4.1.15 // indirect
github.com/rs/cors v1.8.2 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/supranational/blst v0.3.11 // indirect
github.com/uber/jaeger-client-go v2.28.0+incompatible // indirect
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
github.com/xlab/treeprint v1.0.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
gonum.org/v1/gonum v0.11.0 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)

require (
Expand All @@ -64,7 +72,7 @@ require (
github.com/djherbis/times v1.5.0 // indirect
github.com/fatih/color v1.16.0
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
Expand Down Expand Up @@ -97,17 +105,17 @@ require (
github.com/prometheus/procfs v0.9.0 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/tklauser/go-sysconf v0.3.5 // indirect
github.com/tklauser/numcpus v0.2.2 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/ybbus/httpretry v1.0.2
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/tools v0.6.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/tools v0.15.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
Expand Down
Loading

0 comments on commit 5533fae

Please sign in to comment.