Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Oct 4, 2023
1 parent b5d9263 commit 9296ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/codegen/memory_allocator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9296ff4

Please sign in to comment.