From 9296ff4708d57d04b6455cfe7702036fa2b156d5 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Wed, 4 Oct 2023 16:05:38 -0400 Subject: [PATCH] update error message --- vyper/codegen/memory_allocator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/codegen/memory_allocator.py b/vyper/codegen/memory_allocator.py index e444f4577e..b5e1212917 100644 --- a/vyper/codegen/memory_allocator.py +++ b/vyper/codegen/memory_allocator.py @@ -117,7 +117,7 @@ def _expand_memory(self, size: int) -> int: # this should not be caught raise MemoryAllocationException( f"Tried to allocate {self.size_of_mem} bytes! " - f"(limit is 2**64 bytes)" + f"(limit is {self._ALLOCATION_LIMIT} (2**64) bytes)" ) return before_value