feat: Dynamic OP Stack L1 gas via gas API#6899
Merged
pedronfigueiredo merged 1 commit intomainfrom Oct 28, 2025
Merged
Conversation
b0cf270 to
0e779d8
Compare
matthewwalsh0
requested changes
Oct 21, 2025
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
7b8c594 to
044c238
Compare
matthewwalsh0
requested changes
Oct 22, 2025
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OracleLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Show resolved
Hide resolved
packages/transaction-controller/src/gas-flows/OptimismLayer1GasFeeFlow.ts
Outdated
Show resolved
Hide resolved
a1e8eea to
ba1363d
Compare
3a3cf8a to
0a8b97b
Compare
matthewwalsh0
previously approved these changes
Oct 28, 2025
|
|
||
| matchesTransaction({ | ||
| protected override shouldSignTransaction(): boolean { | ||
| return true; |
0a8b97b to
1c59fbe
Compare
mikesposito
reviewed
Oct 28, 2025
1c59fbe to
cc31d4b
Compare
mikesposito
reviewed
Oct 28, 2025
mikesposito
approved these changes
Oct 28, 2025
OGPoyraz
approved these changes
Oct 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
References
Checklist
Note
Dynamically detects OP Stack chains via gas API (with static fallback) and refactors the L1 oracle flow with default oracle/signing while making Layer1GasFeeFlow.matchesTransaction async.
gas.api(/v1/supportedNetworks) with fallback toFALLBACK_OPTIMISM_STACK_CHAIN_IDS; uses base class default oracle;matchesTransactionis async.getOracleAddressForChainandshouldSignTransaction; updates signing to useUint8Array.matchesTransactionnow async.Layer1GasFeeFlow.matchesTransactionreturnsPromise<boolean>; updategetTransactionLayer1GasFeeflow selection to async.GasFeePollertests updated to passmessengerobject and expect it in calls.Written by Cursor Bugbot for commit cc31d4b. This will update automatically on new commits. Configure here.