Skip to content

Commit

Permalink
go.mod: update to the latest kzg update (#44)
Browse files Browse the repository at this point in the history
* go.mod: update to correct kzg update

* go.mod: update to correct kzg update
  • Loading branch information
MariusVanDerWijden authored Oct 23, 2023
1 parent a04c337 commit d8b943f
Show file tree
Hide file tree
Showing 5 changed files with 171 additions and 105 deletions.
11 changes: 8 additions & 3 deletions cmd/cancun/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ var (
)

func main() {
fmt.Println("4788")
test4788()
fmt.Println("1153")
test1153()
fmt.Println("7516")
test7516()
fmt.Println("5656")
test5656()
fmt.Println("4844_prec")
test4844_precompile()
fmt.Println("4844")
test4844()
}

Expand Down Expand Up @@ -335,9 +341,8 @@ func exec(addr common.Address, data []byte, blobs bool) *types.Transaction {
}
//nonce = nonce - 2
tx := txfuzz.New4844Tx(nonce, &addr, 500000, chainid, tip.Mul(tip, common.Big1), gp.Mul(gp, common.Big1), common.Big0, data, big.NewInt(1_000_000), blob, make(types.AccessList, 0))
signedTx, _ := types.SignTx(tx.Transaction, types.NewCancunSigner(chainid), sk)
tx.Transaction = signedTx
rlpData, err = tx.MarshalBinary()
signedTx, _ := types.SignTx(tx, types.NewCancunSigner(chainid), sk)
rlpData, err = signedTx.MarshalBinary()
if err != nil {
panic(err)
}
Expand Down
38 changes: 21 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@ go 1.20
require (
github.com/MariusVanDerWijden/FuzzyVM v0.0.0-20230606141057-24202385e744
github.com/ethereum/go-ethereum v1.13.5-0.20231022140504-a6a0ae45b69a
github.com/holiman/goevmlab v0.0.0-20230602194133-da4e4913b799
github.com/urfave/cli/v2 v2.25.1
github.com/holiman/goevmlab v0.0.0-20230917164918-f3777d0b880b
github.com/urfave/cli/v2 v2.25.7
)

require (
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/tools v0.13.0 // indirect
)

require (
Expand All @@ -18,15 +25,15 @@ require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cockroachdb/errors v1.10.0 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/pebble v0.0.0-20230614191204-17e0ab3c2e0e // indirect
github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593 // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/consensys/bavard v0.1.13 // indirect
github.com/consensys/gnark-crypto v0.10.0 // indirect
github.com/consensys/gnark-crypto v0.12.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/crate-crypto/go-kzg-4844 v0.3.0 // indirect
github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect
github.com/deckarep/golang-set/v2 v2.3.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/ethereum/c-kzg-4844 v0.3.0 // indirect
github.com/ethereum/c-kzg-4844 v0.4.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/getsentry/sentry-go v0.21.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
Expand All @@ -38,8 +45,8 @@ require (
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
github.com/holiman/uint256 v1.2.2
github.com/huin/goupnp v1.2.0 // indirect
github.com/holiman/uint256 v1.2.3
github.com/huin/goupnp v1.3.0 // indirect
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
github.com/klauspost/compress v1.16.6 // indirect
github.com/kr/pretty v0.3.1 // indirect
Expand All @@ -57,20 +64,17 @@ require (
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/supranational/blst v0.3.11-0.20230406105308-e9dfc5ee724b // indirect
github.com/supranational/blst v0.3.11 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tklauser/go-sysconf v0.3.11 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)

replace github.com/ethereum/go-ethereum => github.com/mariusvanderwijden/go-ethereum v1.8.22-0.20230707144623-e03b5add7133
Loading

0 comments on commit d8b943f

Please sign in to comment.