Skip to content

feat: allow interop center service tx #533

Open
antoniolocascio wants to merge 2 commits intodevfrom
alocascio-allow-interop-center-service-tx
Open

feat: allow interop center service tx #533
antoniolocascio wants to merge 2 commits intodevfrom
alocascio-allow-interop-center-service-tx

Conversation

@antoniolocascio
Copy link
Contributor

@antoniolocascio antoniolocascio commented Feb 25, 2026

What ❔

Add the interop center address (0x1000d) to the service tx whitelist.
Took the address from https://github.com/matter-labs/era-contracts/blob/2c015f3e5f072701b2ebca410431acc415c6cb7f/l1-contracts/contracts/common/l2-helpers/L2ContractAddresses.sol#L124

Why ❔

This is needed for setting interop fees.

Is this a breaking change?

  • Yes
  • No

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted.

@0xVolosnikov
Copy link
Contributor

It will allow operator to call arbitrary methods of the contract. Let's double check that this is ok

@antoniolocascio antoniolocascio force-pushed the alocascio-allow-interop-center-service-tx branch from ed89872 to 73e470d Compare February 26, 2026 12:24
@github-actions
Copy link
Contributor

Benchmark report

Benchmark Symbol Base Eff Head Eff (%) Base Raw Head Raw (%) Base Blake Head Blake (%) Base Bigint Head Bigint (%)
block_19299001 process_block 315,727,782 315,727,782 (+0.00%) 273,062,382 273,062,382 (+0.00%) 410,630 410,630 (+0.00%) 9,023,830 9,023,830 (+0.00%)
block_22244135 process_block 197,606,679 197,606,679 (+0.00%) 170,690,887 170,690,887 (+0.00%) 172,040 172,040 (+0.00%) 6,040,788 6,040,788 (+0.00%)
precompiles bn254_ecadd 53,268 53,268 (+0.00%) 47,816 47,816 (+0.00%) 0 0 (+0.00%) 1,363 1,363 (+0.00%)
precompiles bn254_ecmul 728,781 728,781 (+0.00%) 564,593 564,593 (+0.00%) 0 0 (+0.00%) 41,047 41,047 (+0.00%)
precompiles bn254_pairing 72,336,733 72,336,733 (+0.00%) 57,808,589 57,808,589 (+0.00%) 0 0 (+0.00%) 3,632,036 3,632,036 (+0.00%)
precompiles ecrecover 479,324 477,895 (-0.30%) 310,932 309,951 (-0.32%) 0 0 (+0.00%) 42,098 41,986 (-0.27%)
precompiles id 927 927 (+0.00%) 927 927 (+0.00%) 0 0 (+0.00%) 0 0 (+0.00%)
precompiles keccak 137,579 137,579 (+0.00%) 137,579 137,579 (+0.00%) 0 0 (+0.00%) 0 0 (+0.00%)
precompiles modexp 31,267,898 31,267,898 (+0.00%) 20,610,078 20,610,078 (+0.00%) 0 0 (+0.00%) 2,664,455 2,664,455 (+0.00%)
precompiles p256_verify 748,861 748,861 (+0.00%) 470,169 470,169 (+0.00%) 0 0 (+0.00%) 69,673 69,673 (+0.00%)
precompiles point_evaluation 52,918,413 52,918,413 (+0.00%) 40,570,377 40,570,377 (+0.00%) 0 0 (+0.00%) 3,087,009 3,087,009 (+0.00%)
precompiles process_block 147,558,441 147,558,342 (-0.00%) 118,074,337 118,074,462 (+0.00%) 5,160 5,160 (+0.00%) 7,350,386 7,350,330 (-0.00%)
precompiles process_transaction 73,489,239 73,489,785 (+0.00%) 58,792,495 58,786,257 (-0.01%) 160 160 (+0.00%) 3,673,546 3,675,242 (+0.05%)
precompiles ripemd 8,013 8,013 (+0.00%) 8,013 8,013 (+0.00%) 0 0 (+0.00%) 0 0 (+0.00%)
precompiles run_tx_loop 146,906,858 146,906,423 (-0.00%) 117,502,434 117,502,223 (-0.00%) 180 180 (+0.00%) 7,350,386 7,350,330 (-0.00%)
precompiles sha256 13,168 13,168 (+0.00%) 13,168 13,168 (+0.00%) 0 0 (+0.00%) 0 0 (+0.00%)
precompiles system_init 46,797 46,797 (+0.00%) 46,797 46,797 (+0.00%) 0 0 (+0.00%) 0 0 (+0.00%)
precompiles verify_and_apply_batch 145,910 146,508 (+0.41%) 109,910 110,188 (+0.25%) 2,250 2,270 (+0.89%) 0 0 (+0.00%)

@antoniolocascio antoniolocascio force-pushed the alocascio-allow-interop-center-service-tx branch from 73e470d to c5db810 Compare February 26, 2026 13:04
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