flâneur

Blake2b F precompile by pdyraga · Pull Request #4 · keep-network/go-ethereum

github.com · 351 words · saved by 1 readers

New! Multiple suggested changes can be batched together in a single commit. Each suggestion author will be attributed in the commit as a co-author. Leave a comment We don’t support that file type. Try again with GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CPUPROFILE, CSV, DMP, DOCX, FODG, FODP, FODS, FODT, GZ, JSON, JSONC, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP. Attaching documents requires write permission to this repository. Try again with GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CPUPROFILE, CSV, DMP, DOCX, FODG, FODP, FODS, FODT, GZ, JSON, JSONC, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP. This file is empty. Try again with a file that’s not empty. This file is hidden. Try again with another file. Something went really wrong, and we can’t process that file. Try again. Nothing to preview There was a problem hiding this comment. The reason will be displayed to describe this comment to others

Expand Up @@ -17,8 +17,11 @@ package vm import ( "crypto/rand" "encoding/hex" "fmt" "math/big" "reflect" "testing" "github.com/ethereum/go-ethereum/common" Expand All @@ -32,6 +35,14 @@ type precompiledTest struct { noBenchmark bool // Benchmark primarily the worst-cases } // precompiledFailureTest defines the input/error pairs for precompiled // contract failure tests. type precompiledFailureTest struct { input string expectedError error name string } // modexpTests are the test and benchmark data for the modexp precompiled contract. var modexpTests =…

saved by

related reading