mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
19 lines
503 B
Go
19 lines
503 B
Go
// (c) 2020-2023, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package txallowlist
|
|
|
|
import (
|
|
"testing"
|
|
"github.com/luxfi/evm/core/extstate/testhelpers"
|
|
"github.com/luxfi/evm/precompile/allowlist"
|
|
)
|
|
|
|
func TestTxAllowListRun(t *testing.T) {
|
|
allowlist.RunPrecompileWithAllowListTests(t, Module, testhelpers.NewTestStateDB, nil)
|
|
}
|
|
|
|
func BenchmarkTxAllowList(b *testing.B) {
|
|
allowlist.BenchPrecompileWithAllowList(b, Module, testhelpers.NewTestStateDB, nil)
|
|
}
|