generated from metaplex-foundation/solana-project-template
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Batch minting #113
Open
StanChe
wants to merge
91
commits into
main
Choose a base branch
from
feature/batch-mint
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Batch minting #113
Changes from 90 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
b25553a
feat: add create tree with root instruction
n00m4d 0339d56
feat: update solana versions
n00m4d 403765d
feat: client update
n00m4d 1e185ed
feat: add new instr to instruction name enum
n00m4d 4bef5d4
feat: SOL protocol fee for rollup operation
RequescoS 67fd4a3
test: update
n00m4d 883f43b
feat: add temp script to prepare env to run tests
n00m4d 060bd11
Merge branch 'feat/rollup' into feat/rollup-sol-fee
RequescoS 771d115
tests
RequescoS 06577c5
feat: change submodule for spl
n00m4d 9c9f43f
comments
RequescoS 323edc9
feat: add new instructions and cover it with tests
n00m4d b04e6a1
Merge branch 'feat/rollup' into feat/rollup-sol-fee
RequescoS 88a955a
client: generate new sdk
n00m4d db4a868
feat: change prep tree and finalize tree instructions a little bit
n00m4d 250c363
merge + tests
RequescoS 5e28369
Merge branch 'feat/rollup' into feat/rollup-sol-fee
RequescoS 1565158
feat: add canopy size check
n00m4d 7aaf57d
rebase + git submodule update
StanChe c464ba3
merge + tests
RequescoS e039c04
fmt
RequescoS 20478c6
Merge pull request #3 from n00m4d/feat/canopy-size-check
StanChe c24672f
Merge branch 'feat/rollup' into feat/rollup-sol-fee
RequescoS dfe9784
merge
RequescoS b2d39bb
[MTG-234] calculate weighted stake
StanChe bd1b4b3
prepare tree cleaned up
StanChe f9ccebb
extending a comment and reusing the existing variable
StanChe 2c4b1ea
Merge branch 'feature/weighted-stake' into feature/cleanup
StanChe 08e8238
finalize tree with root finalized
StanChe a3f2290
client lib manual update
StanChe 05f018f
minor cleanup
StanChe 332c895
fix: canopy size check
n00m4d bd42fa8
feat: finalize tree with root and collection
RequescoS dc409fe
updated the dependency on solana program library
StanChe 1bcffa6
Update programs/bubblegum/program/src/utils.rs
n00m4d 54a6a6a
Merge pull request #7 from adm-metaex/fix/canopy-check
n00m4d 8385944
refactor: simplify tests
n00m4d affbb00
chore: add more comments
n00m4d 50579ea
feat: finalize tree with collection
RequescoS f330635
comments
RequescoS 7d3d637
chore: func rename and comment
n00m4d 809fb9b
Merge pull request #9 from adm-metaex/fix/canopy-check
n00m4d 90e3aa3
reusing the existing code for the finalize tree with collection
StanChe f041a3c
nit: using more of From and marking varable as used as it's passed do…
StanChe fc2c362
removed couple unnecessary submodules
StanChe 463851b
Merge pull request #10 from adm-metaex/feature/finalize_tree_with_col…
StanChe aed0cfc
Merge remote-tracking branch 'origin/feature/cleanup' into feature/fi…
RequescoS b369e2f
comments
RequescoS 9869189
Merge pull request #8 from adm-metaex/feature/finalize-tree-with-coll…
RequescoS a1431cf
Merge branch 'feature/cleanup' into feature/submodules_removal
n00m4d c4fa3c4
Merge pull request #11 from adm-metaex/feature/submodules_removal
n00m4d fc6b995
remove auth-rules submodule (#12)
rwwwx 7c976dd
fixed dev-deps
rwwwx a275e5a
added `VOTER_DISCRIMINATOR` const, fixed fmt
rwwwx b41b946
updates according to spl renaming
StanChe a6d7447
bump version to 0.13
StanChe 6887833
renaming rollup to batch mint
StanChe ddad419
using 30M weighted stake as a requirement to batch mint
StanChe d122281
using the delegated stake in the minimal requirement check
StanChe a0a6f58
typo fix
StanChe fdfee8a
minor lock file update
StanChe 0e56a6c
batch operations documented + 1 argument renamed in add_canopy method
StanChe 8202945
Merge pull request #14 from adm-metaex/feature/docs
StanChe bfb174f
using immutable mining account + fix for the stack overflow on the vo…
StanChe b4e82e5
removed a comment - already using the immutable mining
StanChe b81e2f8
an additional comment and removed an unnecessary box
StanChe 5a77580
using published version of mpl-token-auth-rules
StanChe 7ef46f1
Update programs/bubblegum/program/src/processor/finalize_tree_with_ro…
StanChe 27fe95d
introducing a discriminator length constant instead of a magic number
StanChe 45baca1
no need for the box
StanChe 74d0479
simplified the work with bytes
StanChe 6de5c68
further simplified references/dereferences
StanChe ec3dd4a
Merge pull request #13 from adm-metaex/feature/delegated-staking-check
StanChe 148c0b2
feat: update client
RequescoS afebaf7
thiserror update
RequescoS 5340099
thiserror update
RequescoS 702e5cd
thiserror update
RequescoS 2213f22
Merge pull request #16 from adm-metaex/feat/update-client
RequescoS 0607f92
Merge commit 'cdd8fc3cde9f9f30518bb265d8fbf4be117df128' into feature/…
StanChe b3c48f0
using spl crate
StanChe aa01de9
account compression idl update, deps update and parameter names allig…
StanChe c187cba
fix formatting in toml
StanChe dc50cf2
Merge commit '42ffed35da6b2a673efacd63030a360eac3ae64e' into feature/…
StanChe 1906a77
using devnet of solana to dump contracts as the spl account compressi…
StanChe d352e05
regenerated clients
StanChe 6f9e36b
bump rust client version to 1.5.0
StanChe d87ede8
using a public crate for spl-account-compression
StanChe 9a7ee42
fixed the noop version and client lock file update
StanChe cd5704e
updated refs to staking and rewards contracts
StanChe c3010c1
fix formating in cargo
StanChe 07678e6
Use constants from external crate (#114)
n00m4d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: It would be nice if some of these new Bubblegum errors were a bit more descriptive. For example, if this one said something more like who the fee receiver is mismatched with.
Like some of the spl-account compression ones have a bit of wording that really helps with the clarity, i.e.:
BatchNotInitializedError: Tree header was not initialized for batch processing
CanopyRootMismatchError: Canopy root does not match the root of the tree