We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Parsing blocks using go-ethereum client fails due to invalid transaction v, r, s values error.
go-ethereum
invalid transaction v, r, s values
Using go-ethereum v1.2.0 .
A short Golang program to reproduce the issue:
package main import ( "context" "fmt" "math/big" "github.com/ethereum/go-ethereum/ethclient" ) func main() { ctx := context.Background() blockNumber := big.NewInt(9966250) client, err := ethclient.Dial("https://mainnet.era.zksync.io/") if err != nil { fmt.Printf("Error dialing: %v\n", err) return } block, err := client.BlockByNumber(ctx, blockNumber) if err != nil { fmt.Printf("Error getting block: %v\n", err) return } fmt.Printf("Got block with %d transactions.\n", len(block.Transactions())) }
go run main.go
Error getting block: invalid transaction v, r, s values
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary of Bug
Parsing blocks using
go-ethereum
client fails due toinvalid transaction v, r, s values
error.Version
Using
go-ethereum
v1.2.0 .Steps to Reproduce
A short Golang program to reproduce the issue:
go run main.go
, outputs:Error getting block: invalid transaction v, r, s values
.The text was updated successfully, but these errors were encountered: