New requirements for Client interface
Closed this issue · 2 comments
boqiu commented
Following APIs is preferred in client interface, which is initialized when creating the client instance:
- MustGetNetworkID() uint32
- MustGetChainID() uint
- WaitForNonceUpdate(target)?// The same with the existing WaitForReceit
wangdayong228 commented
Client.GetNetworkIDCached
and Client.GetNetworkIDCached
are supported.
What does the target
of WaitForNonceUpdate(target)
mean
boqiu commented
Client.GetNetworkIDCached
andClient.GetNetworkIDCached
are supported. What does thetarget
ofWaitForNonceUpdate(target)
mean
Just ignore it, WaitForReceipt
is enough.