From cef72cd510afc380637b99b277436122fd65a3a0 Mon Sep 17 00:00:00 2001 From: wh00hw Date: Tue, 12 Mar 2024 17:38:11 +0000 Subject: [PATCH] Ensure all preocompile modules are registered --- config/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/config.go b/config/config.go index 1dfd0974..a5c74013 100644 --- a/config/config.go +++ b/config/config.go @@ -17,8 +17,13 @@ import ( "github.com/ava-labs/avalanchego/utils/logging" "github.com/ava-labs/avalanchego/utils/set" "github.com/ava-labs/awm-relayer/utils" + "github.com/ava-labs/subnet-evm/ethclient" "github.com/ava-labs/subnet-evm/precompile/contracts/warp" + + // Force-load precompiles to trigger registration + _ "github.com/ava-labs/subnet-evm/precompile/registry" + "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" "github.com/spf13/viper"