From aa66069101a00210cd9f968c4d4c10388625c8be Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Mon, 28 Apr 2025 08:26:55 +0200 Subject: [PATCH] Update state_transition.go --- core/state_transition.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state_transition.go b/core/state_transition.go index 0f9ee9eea5..1858c3b658 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -480,7 +480,7 @@ func (st *stateTransition) execute() (*ExecutionResult, error) { var ( ret []byte - vmerr error // vm errors do not effect consensus and are therefore not assigned to err + vmerr error // vm errors do not affect consensus and are therefore not assigned to err ) if contractCreation { ret, _, st.gasRemaining, vmerr = st.evm.Create(msg.From, msg.Data, st.gasRemaining, value) @@ -572,7 +572,7 @@ func (st *stateTransition) validateAuthorization(auth *types.SetCodeAuthorizatio return authority, fmt.Errorf("%w: %v", ErrAuthorizationInvalidSignature, err) } // Check the authority account - // 1) doesn't have code or has exisiting delegation + // 1) doesn't have code or has existing delegation // 2) matches the auth's nonce // // Note it is added to the access list even if the authorization is invalid.