Open matthewwalsh0 opened 1 week ago
@metamaskbot publish-preview
Preview builds have been published. See these instructions for more information about preview builds.
@metamaskbot publish-preview
Preview builds have been published. See these instructions for more information about preview builds.
@metamaskbot publish-preview
Preview builds have been published. See these instructions for more information about preview builds.
@metamaskbot publish-preview
Preview builds have been published. See these instructions for more information about preview builds.
Explanation
Remove all global network usage from the
@metamask/transaction-controller
package.Specifically:
blockTracker
isMultichainEnabled
onNetworkStateChange
provider
networkClientId
option in calls toaddTransaction
.networkClientId
required inTransactionMeta
type.PendingTransactionTracker
IncomingTransactionHelper
NonceTracker
.wipeTransactions
method arguments with object containing optionalchainId
andaddress
properties.networkClientId
argument in:getNonceLock
estimateGas
estimateGasBuffered
filterToCurrentNetwork
option fromgetTransactions
method.networkClientId
argument tohandleMethodData
method.MethodDataHelper
to encapsulatehandleMethodData
method logic.getProvider
andgetEthQuery
methods withgetNetworkClient
method inMultichainTrackingHelper
.PendingTransactionTracker
andIncomingTransactionHelper
.MultichainTrackingHelper
with additional logs.References
Changelog
See
CHANGELOG.md
.Checklist