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

feat(ethexe): Initial step of reverse gas model implementation #4067

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

breathx
Copy link
Member

@breathx breathx commented Jul 18, 2024

No description provided.

@breathx breathx added the A0-pleasereview PR is ready to be reviewed by the team label Jul 18, 2024
Copy link
Member Author

@breathx breathx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed with @grishasobol

@@ -350,20 +350,37 @@ pub struct GasMultiplier {
value_per_gas: Value,
}

// TODO: handle overflows.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. handle todo

@@ -350,20 +350,37 @@ pub struct GasMultiplier {
value_per_gas: Value,
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open todo about wasm builder syscalls checking

@@ -151,43 +150,34 @@ impl<S: Storage> JournalHandler for Handler<'_, S> {
fn send_dispatch(
&mut self,
message_id: MessageId,
dispatch: CoreDispatch,
dispatch: Dispatch,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert core dispatch

let (queue_hash, pop_id) = Self::pop_queue_message(&state, storage);

if pop_id != dispatch.id {
if pop_id != dispatch.id() {
// TODO (breathx): figure out what's it.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove todo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant