From c521fa6bdbd945c8425b3329bdf27b4e55db7f87 Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Tue, 8 Jul 2025 16:57:42 +0100 Subject: [PATCH] note --- core/vm/contracts.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/vm/contracts.go b/core/vm/contracts.go index fce68fe1e0..05974ab078 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -498,6 +498,8 @@ func (c *bigModExp) RequiredGas(input []byte) uint64 { } func (c *bigModExp) Run(input []byte) ([]byte, error) { + + // Note: This can be done more efficiently var ( baseLen = new(big.Int).SetBytes(getData(input, 0, 32)).Uint64() expLen = new(big.Int).SetBytes(getData(input, 32, 32)).Uint64()