mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
26 lines
568 B
Go
26 lines
568 B
Go
// (c) 2021-2024, Lux Partners Limited. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package allowlist
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/luxdefi/evm/precompile/modules"
|
|
)
|
|
|
|
var testModule = modules.Module{
|
|
Address: dummyAddr,
|
|
Contract: CreateAllowListPrecompile(dummyAddr),
|
|
Configurator: &dummyConfigurator{},
|
|
ConfigKey: "dummy",
|
|
}
|
|
|
|
func TestVerifyAllowlist(t *testing.T) {
|
|
VerifyPrecompileWithAllowListTests(t, testModule, nil)
|
|
}
|
|
|
|
func TestEqualAllowList(t *testing.T) {
|
|
EqualPrecompileWithAllowListTests(t, testModule, nil)
|
|
}
|