EIP-2929: only add params.address to access list
This commit is contained in:
parent
0fd7c59724
commit
a716eb3871
@ -240,7 +240,6 @@ impl<'a> CallCreateExecutive<'a> {
|
|||||||
if schedule.eip2929 {
|
if schedule.eip2929 {
|
||||||
let mut substate = Substate::from_access_list(¶ms.access_list);
|
let mut substate = Substate::from_access_list(¶ms.access_list);
|
||||||
substate.access_list.insert_address(params.address);
|
substate.access_list.insert_address(params.address);
|
||||||
substate.access_list.insert_address(params.sender);
|
|
||||||
substate
|
substate
|
||||||
} else {
|
} else {
|
||||||
Substate::default()
|
Substate::default()
|
||||||
|
Loading…
Reference in New Issue
Block a user