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

Developed benchmarks and weights for afloat, closes #36 #43

Merged
merged 5 commits into from
Apr 9, 2024

Conversation

Dreyhh
Copy link
Contributor

@Dreyhh Dreyhh commented Apr 1, 2024

  • Developed benchmarks and weights for afloat pallet.
  • Changed Fruniques's Attributes type to a BoundedVec.

@hashed-io hashed-io deleted a comment from github-actions bot Apr 1, 2024
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/lib.rs Outdated Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
…trinsics from: rbac, gated_marketplace and fruniques
Copy link

github-actions bot commented Apr 4, 2024

GPT summary of 57901a7:

Error: couldn't generate summary

Copy link

github-actions bot commented Apr 4, 2024

GPT summary of 9667bcc:

Error: couldn't generate summary

PR summary so far:

Error: couldn't generate summary

Copy link

github-actions bot commented Apr 4, 2024

GPT summary of 7f9cf81:

Error: couldn't generate summary

PR summary so far:

Error: couldn't generate summary

…action benchmark, replaced unwraps with assert_ok for calls to helpers functions that dont return a value in afloat benchmarks
Copy link

github-actions bot commented Apr 4, 2024

GPT summary of bd05e7f:

Error: couldn't generate summary

PR summary so far:

Error: couldn't generate summary

@Dreyhh
Copy link
Contributor Author

Dreyhh commented Apr 4, 2024

@sebastianmontero aun no actualizo los weights, lo hare cuando tenga luz verde con los benchmarks

pallets/afloat/src/benchmarking.rs Outdated Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Show resolved Hide resolved
pallets/afloat/src/benchmarking.rs Outdated Show resolved Hide resolved
…orageMaps values for Fruniques and GM, fixed set_gm_do_enlist_sell_offer_worst_case(), updated do_create_sell/buy_order() methods signature to return the created offer_id given that there was no other way to reliably get the offer_id, updated gm's offer_id creation to include also the item_id, removed unused variables and imports
@@ -32,7 +32,7 @@ gcloud-md5-ingress.yml
.secrets
Copy link

Choose a reason for hiding this comment

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

GPT summary of 6ea5fa - cba13b:
Error: couldn't generate summary

@@ -0,0 +1,727 @@
#![cfg(feature = "runtime-benchmarks")]
Copy link

Choose a reason for hiding this comment

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

GPT summary of None - bedfd4:
Error: couldn't generate summary

@@ -11,9 +11,9 @@ use pallet_rbac::types::{IdOrVec, RoleBasedAccessControl, RoleId};
use scale_info::prelude::vec;
Copy link

Choose a reason for hiding this comment

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

GPT summary of 15c838 - 90410e:
Error: couldn't generate summary

@@ -9,7 +9,6 @@ use sp_runtime::{
traits::{BlakeTwo256, IdentityLookup},
Copy link

Choose a reason for hiding this comment

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

GPT summary of ff935b - b67180:
Error: couldn't generate summary

@@ -350,9 +350,14 @@ impl<T: Config> Pallet<T> {
Self::get_timestamp_in_milliseconds().ok_or(Error::<T>::TimestampError)?;
Copy link

Choose a reason for hiding this comment

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

GPT summary of 3d8ee6 - 595605:
Error: couldn't generate summary

Copy link

github-actions bot commented Apr 9, 2024

GPT summary of a4ac3ae:

Error: couldn't generate summary

PR summary so far:

Error: couldn't generate summary

@sebastianmontero sebastianmontero merged commit 975f6ca into feature/benchmarks Apr 9, 2024
1 check passed
@Dreyhh
Copy link
Contributor Author

Dreyhh commented Apr 9, 2024

@sebastianmontero no habia generado los weigths actualizados con los ultimos cambios, esperaba confirmacion con benchmarks, abrire otra PR para incluirlos.

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.

2 participants