-
Notifications
You must be signed in to change notification settings - Fork 9
Fees deposit hook <-> Solana - DO NOT MERGE #206
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
base: surge-gameplay-iteration-stage
Are you sure you want to change the base?
Changes from all commits
6dcde4c
ea9123f
93047f7
a604060
6ce53f6
73f5e08
367256a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -134,6 +134,9 @@ contract WritePrecompile is WritePrecompileStorage, Initializable, Ownable, Watc | |||||||||||
| } else { | ||||||||||||
| queueParams_.overrideParams.gasLimit = 10_000_000; // other chains default gas limit | ||||||||||||
| } | ||||||||||||
| } else if (queueParams_.transaction.chainSlug == 999) { | ||||||||||||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not need atm |
||||||||||||
| // HyperEVM default gas limit | ||||||||||||
| queueParams_.overrideParams.gasLimit = 1_500_000; | ||||||||||||
| } | ||||||||||||
|
Comment on lines
+137
to
140
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the redundant else-if that prevents custom gas limits for HyperEVM. Lines 137-139 unconditionally override any non-zero Apply this diff to remove the redundant override: - } else if (queueParams_.transaction.chainSlug == 999) {
- // HyperEVM default gas limit
- queueParams_.overrideParams.gasLimit = 1_500_000;
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||
|
|
||||||||||||
| // For write precompile, encode the payload parameters | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no needed atm