Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accounts/abi/bind/backend: SimulatedBackend options to always honour vm.Config #25072

Closed
wants to merge 6 commits into from
Prev Previous commit
Next Next commit
Fix spelling mistake
  • Loading branch information
ARR4N committed Dec 13, 2022
commit 227ac11831bedb1343c541a9ca35748df1920607
6 changes: 3 additions & 3 deletions accounts/abi/bind/backends/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type cloneOnCall struct {
// CloneVMConfigOnCall instructs the SimulatedBackend to clone its Blockchain's
// vm.Config when CallContract() is invoked. Historically, the Config was always
// overrideen and this remains the default for backwards compatibility. The
// Config's NoBaseFee field is always overriden to true.
// Config's NoBaseFee field is always overridden to true.
func CloneVMConfigOnCall() Option {
return cloneOnCall{}
}
Expand All @@ -35,7 +35,7 @@ type cloneOnPendingCall struct {
// CloneVMConfigOnPendingCall instructs the SimulatedBackend to clone its
// Blockchain's vm.Config when PendingCallContract() is invoked. Historically,
// the Config was always overrideen and this remains the default for backwards
// compatibility. The Config's NoBaseFee field is always overriden to true.
// compatibility. The Config's NoBaseFee field is always overridden to true.
func CloneVMConfigOnPendingCall() Option {
return cloneOnPendingCall{}
}
Expand All @@ -47,7 +47,7 @@ type cloneOnEstimateGas struct {
// CloneVMConfigOnEstimateGas instructs the SimulatedBackend to clone its
// Blockchain's vm.Config when EstimateGas() is invoked. Historically, the
// Config was always overrideen and this remains the default for backwards
// compatibility. The Config's NoBaseFee field is always overriden to true.
// compatibility. The Config's NoBaseFee field is always overridden to true.
func CloneVMConfigOnEstimateGas() Option {
return cloneOnEstimateGas{}
}
Expand Down