Skip to content

build: add Github actions boilerplate#3

Merged
mpaulucci merged 1 commit into
mainfrom
lint-pr-title-job
May 31, 2024
Merged

build: add Github actions boilerplate#3
mpaulucci merged 1 commit into
mainfrom
lint-pr-title-job

Conversation

@mpaulucci
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Should we mention this in the readme?

@mpaulucci mpaulucci merged commit 70af4e5 into main May 31, 2024
@MegaRedHand MegaRedHand deleted the lint-pr-title-job branch May 31, 2024 17:37
@fedacking fedacking mentioned this pull request Feb 5, 2026
1 task
ilitteri added a commit that referenced this pull request May 5, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 6, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 6, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 6, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 6, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 7, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 7, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l pushed a commit that referenced this pull request May 8, 2026
… and intrinsic_state_gas_charged

Per steel-team confirmed cross-client bug (multiple clients, ~8 tests):
"block.state_gas_used does not include eip7702 state refund. It is higher
than expected."

eip7702_set_access_code previously only credited state_gas_reservoir for
each existing authority (sender-side refund at tx finalize), leaving
state_gas_used unchanged. block.state_gas_used = max(state_gas_used,
state_gas_reservoir_initial - state_gas_reservoir) was therefore higher
than spec by STATE_BYTES_PER_NEW_ACCOUNT * CPSB per existing authority.

Add the missing block-level effects:
  1. state_gas_reservoir         += STATE_NEW    (sender refund, was already done)
  2. state_gas_used              -= STATE_NEW    (block accounting)
  3. intrinsic_state_gas_charged -= STATE_NEW    (preserve floor invariant
                                                  asserted in vm.rs)

Reproduced on bal-devnet-6 (geth + besu + ethrex on ethrex-office-3):
ethrex over-counted gasUsed on canonical block 16 by exactly 131,488
(= STATE_BYTES_PER_NEW_ACCOUNT * CPSB) plus a small residual of 3,893
(likely steel-team bug #3, deferred). With this patch the 131,488
component disappears; chain converges with geth + besu past head 316
(was diverging at block 16).
edg-l added a commit that referenced this pull request May 21, 2026
Replace fragile line-number references in seed_db_from_bal doc with
descriptive context. Add a brief note on the contains_key + get_mut
fast paths in load_account explaining why a direct get_mut is not
expressible (NLL problem case #3).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants