-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Enhance Transaction Simulation: Bypass Auth Key Check and Fee Payment, Improve Multisig Consistency #13714
Merged
+1,697
−254
Conversation
This file contains 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
⏱️ 6h 14m total CI duration on this PR
🚨 1 job on the last run was significantly faster/slower than expected
|
junkil-park
force-pushed
the
jpark/simulation-without-public-key
branch
from
June 14, 2024 23:41
4e10c7d
to
761b480
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13714 +/- ##
=========================================
- Coverage 59.4% 59.4% -0.1%
=========================================
Files 838 838
Lines 204392 204525 +133
=========================================
+ Hits 121562 121563 +1
- Misses 82830 82962 +132 ☔ View full report in Codecov by Sentry. |
junkil-park
force-pushed
the
jpark/simulation-without-public-key
branch
2 times, most recently
from
June 18, 2024 17:48
a778a2f
to
8fdeabc
Compare
junkil-park
changed the title
[Simulation] Enable the simulation without the authentication key check
[Simulation] Enable Simulation Without Auth Key and Gas Fee Checks
Jun 18, 2024
junkil-park
force-pushed
the
jpark/simulation-without-public-key
branch
3 times, most recently
from
June 25, 2024 18:33
8cfb624
to
d7a27a1
Compare
junkil-park
changed the title
[Simulation] Enable Simulation Without Auth Key and Gas Fee Checks
[Simulation] Enhance Transaction Simulation: Bypass Auth Key Check and Fee Payment, Improve Multisig Consistency
Jun 25, 2024
junkil-park
requested review from
alinush,
mstraka100,
msmouse,
lightmark,
grao1991,
davidiw,
movekevin,
wrwg,
zekun000,
vgao1996,
georgemitenkov,
banool,
gregnazario and
0xmaayan
as code owners
June 25, 2024 18:40
15 tasks
junkil-park
changed the title
[Simulation] Enhance Transaction Simulation: Bypass Auth Key Check and Fee Payment, Improve Multisig Consistency
Enhance Transaction Simulation: Bypass Auth Key Check and Fee Payment, Improve Multisig Consistency
Jun 25, 2024
junkil-park
force-pushed
the
jpark/simulation-without-public-key
branch
2 times, most recently
from
June 26, 2024 17:01
5b15596
to
453dbfc
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…, Improve Multisig Consistency This PR enhances the simulation functionality in several key ways: 1. Bypass Authentication Key Check: Removes the mandatory check for an authentication key during simulations. 2. Eliminate Gas Fee Payment Requirement: Removes the requirement for a gas fee payer during simulations when the fee payer address is 0x0. Simulations will no longer validate the presence of sufficient funds for gas payment, allowing developers to test scenarios without considering gas fees. 3. Improve Multisig Simulation Consistency: Merges the Multisig payload simulation path with the execution path, ensuring consistency between simulation and actual execution. These changes are aimed at improving the flexibility of the simulation environment, allowing developers to test transactions and interactions without the constraints of authentication keys and gas fee payments.
junkil-park
force-pushed
the
jpark/simulation-without-public-key
branch
from
August 21, 2024 21:20
564b400
to
ab884e0
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
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.
Description
This PR implements the AIP-92 (Transaction Simulation Enhancement). This enhances the simulation functionality in several key ways:
Bypass Authentication Key Check:
Eliminate Gas Fee Payment Requirement:
Improve Multisig Simulation Consistency:
These changes are aimed at improving the flexibility of the simulation environment, allowing developers to test transactions and interactions without the constraints of authentication keys and gas fee payments.
This PR resolves, #6862, #13686, #12703, #8304, #12704.
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
e2e API tests and tested on the localnet