MCPcopy Create free account
hub / github.com/CPChain/chain / TestPrecompiledModExp

Function TestPrecompiledModExp

core/vm/contracts_test.go:430–434  ·  view source on GitHub ↗

Tests the sample inputs from the ModExp EIP 198.

(t *testing.T)

Source from the content-addressed store, hash-verified

428
429// Tests the sample inputs from the ModExp EIP 198.
430func TestPrecompiledModExp(t *testing.T) {
431 for _, test := range modexpTests {
432 testPrecompiled("05", test, t)
433 }
434}
435
436// Benchmarks the sample inputs from the ModExp EIP 198.
437func BenchmarkPrecompiledModExp(bench *testing.B) {

Callers

nothing calls this directly

Calls 1

testPrecompiledFunction · 0.85

Tested by

no test coverage detected