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

upgrade teerex refactoring #233

Merged
merged 12 commits into from
Aug 9, 2023
Merged

upgrade teerex refactoring #233

merged 12 commits into from
Aug 9, 2023

Conversation

brenzi
Copy link
Collaborator

@brenzi brenzi commented Aug 8, 2023

closes #221

  • state migration for teerex: purging the entire registry and starting fresh state migrations to teerex v1 pallets#220
  • benchmark anew
  • try-runtime migration against Kusama mainnet (tested with 0 enclaves on kusama, tested with 1 enclave on rococo) instructions in README.md

Copy link
Contributor

@clangenb clangenb left a comment

Choose a reason for hiding this comment

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

Changes look good to me

.github/workflows/ci.yml Outdated Show resolved Hide resolved
polkadot-parachains/integritee-runtime/src/lib.rs Outdated Show resolved Hide resolved
@brenzi
Copy link
Collaborator Author

brenzi commented Aug 9, 2023

pallet bounties benchmark failed, but that's out of scope and we leave the old weights

Input("Benchmark pallet_bounties::spend_funds failed: TooManyQueued")

@brenzi brenzi requested a review from clangenb August 9, 2023 14:06
.saturating_add(Weight::from_parts(0, 3859))
// Measured: `451`
// Estimated: `3916`
// Minimum execution time: 2_821_014_000 picoseconds.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that is close enough given different benchmarking machines

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I agree.

// Proof Size summary in bytes:
// Measured: `412`
// Estimated: `3877`
// Minimum execution time: 41_875_000 picoseconds.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

that's the platform bottleneck in terms of future congestion. benchmark is reasonably close

Copy link
Contributor

@clangenb clangenb left a comment

Choose a reason for hiding this comment

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

LGTM

.saturating_add(Weight::from_parts(0, 3859))
// Measured: `451`
// Estimated: `3916`
// Minimum execution time: 2_821_014_000 picoseconds.
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I agree.

@brenzi brenzi merged commit f1cf865 into master Aug 9, 2023
8 checks passed
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.

upgrade pallets for refactored teerex
2 participants