Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed Apr 27, 2024
1 parent 63bc7d4 commit fa18ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vm/src/runBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ export async function rewardAccount(
): Promise<Account> {
let account = await evm.stateManager.getAccount(address)
if (account === undefined) {
if (common?.isActivatedEIP(6800) === false) {
if (common?.isActivatedEIP(6800) === true) {
;(
evm.stateManager as StatelessVerkleStateManager
).accessWitness!.touchAndChargeProofOfAbsence(address)
Expand All @@ -706,7 +706,7 @@ export async function rewardAccount(
account.balance += reward
await evm.journal.putAccount(address, account)

if (common?.isActivatedEIP(6800) === false) {
if (common?.isActivatedEIP(6800) === true) {
// use this utility to build access but the computed gas is not charged and hence free
;(evm.stateManager as StatelessVerkleStateManager).accessWitness!.touchTxTargetAndComputeGas(
address,
Expand Down

0 comments on commit fa18ee0

Please sign in to comment.