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

Predicate Estimation VM part #460

Merged
merged 85 commits into from
May 24, 2023
Merged

Predicate Estimation VM part #460

merged 85 commits into from
May 24, 2023

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented May 24, 2023

The clone of the #386. We can't merge the initial one, maybe because the creator deleted the account. So we create a new the same PR.

Fixes: #367

possible-panther and others added 30 commits March 15, 2023 10:16
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

# Conflicts:
#	fuel-tx/src/transaction/types/input.rs
…it and max_gas_per_predicate

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

# Conflicts:
#	fuel-tx/src/transaction/consensus_parameters.rs
#	fuel-tx/src/transaction/types/input.rs
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
* breakout estimation

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* compiling estimate predicates breakout

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* add impl for Script

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* compiling estimate_predicates breakout

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* compiling predicate estimation

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* predicate estimation tests in progress

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* all tests passing

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* remove extra argument from all check_predicates calls

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* address clippy & check issues

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

* cargo fmt

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

---------

Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Co-authored-by: Mitch Martin <mitch.martin@fuel.sh>
possible-panther and others added 23 commits May 12, 2023 14:49
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>

# Conflicts:
#	fuel-tx/src/transaction/consensus_parameters.rs
Signed-off-by: Mitch Martin <mitch.martin@fuel.sh>
# Conflicts:
#	fuel-vm/src/interpreter/initialization.rs
Changed the layout of the `Coin` and `Message` inputs.
Prepared the code to merge `estimate_predicates` and `verify_predicates`
Simplify some constructions
# Conflicts:
#	fuel-vm/src/interpreter/executors/main.rs
@xgreenx xgreenx requested a review from a team May 24, 2023 17:43
@xgreenx xgreenx self-assigned this May 24, 2023
@xgreenx xgreenx added this pull request to the merge queue May 24, 2023
Merged via the queue into master with commit 700ec75 May 24, 2023
@xgreenx xgreenx deleted the feature/predicate-estimation branch May 24, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

predicate gasUsed field
3 participants