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

Simulate with max compute units, not u32::MAX #2728

Merged
merged 2 commits into from
May 22, 2024

Conversation

joncinque
Copy link
Contributor

Problem

Looking through recent updates to the monorepo, this caught my eye: anza-xyz/agave#885

The simulation utility sets u32::MAX, which will fail once that feature is enabled.

Solution

Set MAX_COMPUTE_UNITS, hardcoded to 1,400,000, instead of u32::MAX.

Copy link

changeset-bot bot commented May 20, 2024

🦋 Changeset detected

Latest commit: 189659e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 36 packages
Name Type
@solana/web3.js-experimental Patch
@solana/accounts Patch
@solana/addresses Patch
@solana/assertions Patch
@solana/codecs-core Patch
@solana/codecs-data-structures Patch
@solana/codecs-numbers Patch
@solana/codecs-strings Patch
@solana/codecs Patch
@solana/compat Patch
@solana/errors Patch
@solana/fast-stable-stringify Patch
@solana/functional Patch
@solana/instructions Patch
@solana/keys Patch
@solana/options Patch
@solana/programs Patch
@solana/rpc-api Patch
@solana/rpc-graphql Patch
@solana/rpc-parsed-types Patch
@solana/rpc-spec-types Patch
@solana/rpc-spec Patch
@solana/rpc-subscriptions-api Patch
@solana/rpc-subscriptions-spec Patch
@solana/rpc-subscriptions-transport-websocket Patch
@solana/rpc-subscriptions Patch
@solana/rpc-transformers Patch
@solana/rpc-transport-http Patch
@solana/rpc-types Patch
@solana/rpc Patch
@solana/signers Patch
@solana/sysvars Patch
@solana/transaction-confirmation Patch
@solana/transaction-messages Patch
@solana/transactions Patch
@solana/webcrypto-ed25519-polyfill Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Collaborator

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

Added via Giphy

@steveluscher steveluscher merged commit f1e9ac2 into solana-labs:master May 22, 2024
5 checks passed
@joncinque joncinque deleted the maxsimunits branch May 22, 2024 11:22
Copy link
Contributor

github-actions bot commented Jun 3, 2024

🎉 This PR is included in version 1.91.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants