-
Notifications
You must be signed in to change notification settings - Fork 87
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
Validation Gas Fees #665
Validation Gas Fees #665
Conversation
@@ -260,6 +265,24 @@ mod tests { | |||
SignedTransaction::new(raw_transaction, public_key, Ed25519Signature::dummy_signature()) | |||
} | |||
|
|||
fn create_signed_transaction_for_account( |
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.
This seems like the only significant chunk of code that should be performing validation, but I'm not exactly seeing gas fees for validation 🤔
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.
It's in Aptos Core. What you're looking at is a test.
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.
a small nit but lgtm
// Initialize a root account using a predefined keypair and the test root address. | ||
let root_account = LocalAccount::new( | ||
aptos_test_root_address(), | ||
AccountKey::from_private_key(context.config().chain.maptos_private_key.clone()), |
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.
We may want to fix this smelly one at some point in a new PR
Marking this as draft for reasons discussed internally. |
Summary
protocol-units
Integrates
validation_only
gas fee intomaptos_opt_executor
and adds tests.Testing
Outstanding issues