Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed L1 fee estimation logic for L2s #13236

Closed
wants to merge 34 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a9ed79b
Changed L1 fee estimation logic for L2s
KuphJr May 16, 2024
e8d83e2
Added source
KuphJr May 16, 2024
a62f5d9
removed duplicate comment
KuphJr May 16, 2024
5b3e6eb
Functions v1_3_1
KuphJr May 17, 2024
99a1b2e
Include l1Fee when calculating overestimate
KuphJr May 17, 2024
e093ced
reduce diff
KuphJr May 17, 2024
126118e
Added to dev/v1_X
KuphJr May 17, 2024
5349711
Merge branch 'develop' into FUN-1340
KuphJr May 17, 2024
402afb7
added trailing newlines
KuphJr May 17, 2024
43ae009
tests wip
KuphJr May 18, 2024
4da58a0
Merge 43ae0093529a8c1fbfdd17745b2f8d0d5a7761e7 into 53312f01f34594084…
KuphJr May 18, 2024
ab3706a
Update gethwrappers
app-token-issuer-infra-releng[bot] May 18, 2024
0ecef68
[TT-1179] scan cl logs to check plugin activation (#13247)
Tofel May 20, 2024
14e5d11
Ignore job removal critical error. Known issue with in-flight fix tha…
Tofel May 20, 2024
99e2a65
[TT-1046] Add Chainlink node test config as TOML (#13142)
Tofel May 20, 2024
5374a57
KS-208 mv workflow yaml graph validation to chainlink-common (#13235)
krehermann May 20, 2024
6099abb
Added Base Sepolia to ChainUtils (#13216)
ibrajer May 20, 2024
816d1ef
TT-1172: Add default Seth network setting values to default.toml (#13…
iljapavlovs May 20, 2024
0f29878
[TT-1164] Bump gotestloghelper version via common actions bump and in…
tateexon May 20, 2024
50569f7
Add docs for setting node config in E2E tests (#13258)
lukaszcl May 20, 2024
dfc399d
VRF-1066: VRF e2e tests - parametrize waiting for 256 block timeout (…
iljapavlovs May 20, 2024
5169bee
[TT-1187] Fix missing Loki log on CL node log scanner match (#13257)
Tofel May 20, 2024
0d58a8d
link transfer status (#13177)
shileiwill May 20, 2024
e48ed90
Run Keepers Tests On Merge Group Event (#13143)
tateexon May 20, 2024
dccbda7
TT-1102: fix return of the funds from CL node sending key (#13194)
iljapavlovs May 20, 2024
b00ad69
Update finality depth check headtracker (#13089)
silaslenihan May 20, 2024
14ec6c4
make legacy URL optional for v03, make block number required for cond…
shileiwill May 20, 2024
ccdd8bf
wip
KuphJr May 20, 2024
c4fe9d6
wip
KuphJr May 20, 2024
c67aca8
Merge c4fe9d6d5c8a29189d5a28939b2584be6bc9dcf4 into 14ec6c4a912eeb657…
KuphJr May 20, 2024
28f3f17
Update gethwrappers
app-token-issuer-infra-releng[bot] May 20, 2024
172d361
reduce diff
KuphJr May 20, 2024
d546991
Merge 172d361e74b8b8d31d429c25de9ef1632f173724 into 14ec6c4a912eeb657…
KuphJr May 20, 2024
ae7300c
Update gethwrappers
app-token-issuer-infra-releng[bot] May 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reduce diff
  • Loading branch information
KuphJr committed May 17, 2024
commit e093ced6180957e1d15bfe72872949e074ff9113
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ library ChainSpecificUtil {
/// @dev ARB_L1_FEE_DATA_PADDING_SIZE is the L1 data padding for Optimism
uint256 private const ARB_L1_FEE_DATA_PADDING_SIZE = 140;
/// @dev ARBGAS_ADDR is the address of the ArbGasInfo precompile on Arbitrum.
/// @dev reference: https://github.com/OffchainLabs/nitro/blob/v2.0.14/contracts/src/precompiles/ArbGasInfo.sol#L10
address private constant ARBGAS_ADDR = address(0x000000000000000000000000000000000000006C);
ArbGasInfo private constant ARBGAS = ArbGasInfo(ARBGAS_ADDR);

uint256 private constant ARB_MAINNET_CHAIN_ID = 42161;
uint256 private constant ARB_GOERLI_TESTNET_CHAIN_ID = 421613;
uint256 private constant ARB_SEPOLIA_TESTNET_CHAIN_ID = 421614;

// ------------ End Arbitrum Constants ------------

// ------------ Start Optimism Constants ------------
Expand All @@ -34,6 +36,7 @@ library ChainSpecificUtil {
uint256 private constant BASE_MAINNET_CHAIN_ID = 8453;
uint256 private constant BASE_GOERLI_CHAIN_ID = 84531;
uint256 private constant BASE_SEPOLIA_CHAIN_ID = 84532;

// ------------ End Optimism Constants ------------

/// @notice Returns the upper limit estimate of the L1 fees in wei that will be paid for L2 chains
Expand Down
Loading