Skip to content

Commit

Permalink
Force precompile modules registration by importing ethclient as packa…
Browse files Browse the repository at this point in the history
…ge (#1121)
  • Loading branch information
wh00hw authored Mar 13, 2024
1 parent 96188ab commit 8b0e303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ethclient/ethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ import (
"github.com/ava-labs/subnet-evm/rpc"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"

// Force-load precompiles to trigger registration
_ "github.com/ava-labs/subnet-evm/precompile/registry"
)

// Verify that Client implements required interfaces
Expand Down

0 comments on commit 8b0e303

Please sign in to comment.