Skip to content

Conversation

@lorenzogentile404
Copy link
Collaborator

@lorenzogentile404 lorenzogentile404 commented Sep 29, 2025

Note

Adds dominant-cost tracking to user transactions and introduces Prague floor-price tests, alongside BytecodeRunner access-list/payload support and minor utilities fixes.

  • Txndata/UserTransaction:
    • Add enum UserTransaction.DominantCost with @Getter field dominantCost; set based on comparison of consumed gas after refunds vs txn.getFloorCostPrague().
  • Hub:
    • Expose txnData via Lombok @Getter.
  • Testing:
    • Add Prague floor-price tests: TrivialExecutionTests, NontrivialExecutionTests, RefundTests validating dominantCost under varied calldata/initcode/accesslist/refund scenarios.
    • Update SelfdestructInDeploymentTests to use BytecodeRunner.runInitCode.
  • Testing utilities:
    • BytecodeRunner: switch to DEFAULT_GAS_LIMIT; add overloads supporting payload and List<AccessListEntry>; set TransactionType.ACCESS_LIST when present; add runInitCode (rename from runInitcode).
    • BytecodeCompiler: add op(OpCode, int reps).
    • ExecutionEnvironment: sanitize test prefix by replacing with ___ in filenames.

Written by Cursor Bugbot for commit 2291b4f. This will update automatically on new commits. Configure here.

@lorenzogentile404 lorenzogentile404 linked an issue Sep 29, 2025 that may be closed by this pull request
@OlivierBBB OlivierBBB self-requested a review September 30, 2025 11:56
cursor[bot]

This comment was marked as outdated.

@lorenzogentile404 lorenzogentile404 merged commit a587b33 into arith-dev Oct 1, 2025
15 checks passed
@lorenzogentile404 lorenzogentile404 deleted the 1987-tests-for-tx_skip-post-call-data-floor-price branch October 1, 2025 23:20
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.

Tests for TX_SKIP post call data floor price

4 participants