From affa4008558aab22a5656316705d8c1073d52337 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Fri, 15 Mar 2024 20:32:13 -0400 Subject: [PATCH] add block.prevrandao --- boa/environment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/boa/environment.py b/boa/environment.py index f87be8cc..df758584 100644 --- a/boa/environment.py +++ b/boa/environment.py @@ -50,6 +50,7 @@ class VMPatcher: "prev_hashes": "_prev_hashes", "chain_id": "_chain_id", "gas_limit": "_gas_limit", + "prevrandao": "_mix_hash", } _cmp_patchables = {"code_size_limit": "EIP170_CODE_SIZE_LIMIT"}