From 6fb6d5c368f827d8d4b521956488deeb4516f15a Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 8 Dec 2023 10:19:17 +0100 Subject: [PATCH] accounts/abi/bind/backends: adjust comment --- accounts/abi/bind/backends/simulated.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index ae9b4c154a..b6ac22a37d 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -27,9 +27,11 @@ type SimulatedBackend struct { // New creates a new binding backend using a simulated blockchain // for testing purposes. +// // A simulated backend always uses chainID 1337. // -// Deprecated: please use simulated.Backend instead +// Deprecated: please use simulated.Backend from package +// github.com/ethereum/go-ethereum/ethclient/simulated instead. func NewSimulatedBackend(alloc core.GenesisAlloc, gasLimit uint64) SimulatedBackend { return SimulatedBackend{simulated.New(alloc, gasLimit)} }