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

Fix typos #1170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auction-house/cli/src/commands/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ export async function upload({
// Compile a sorted list of assets which need to be uploaded.
const dedupedAssetKeys = getAssetKeysNeedingUpload(cache.items, files);

// Initialize variables that might be needed for uploded depending on storage
// Initialize variables that might be needed for uploaded depending on storage
// type.
// These will be needed anyway either to initialize the
// Candy Machine Custom Program configuration, or to write the assets
Expand Down
2 changes: 1 addition & 1 deletion auction-house/cli/src/helpers/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const sendTransactionWithRetryWithKeypair = async (
transaction.setSigners(...signers.map(s => s.publicKey));
} else {
transaction.setSigners(
// fee payed by the wallet owner
// fee paid by the wallet owner
wallet.publicKey,
...signers.map(s => s.publicKey),
);
Expand Down
2 changes: 1 addition & 1 deletion auction-house/cli/src/helpers/upload/arweave-bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ export const withdrawBundlr = async (walletKeyPair: Keypair) => {
} else if (withdrawResponse.status == 400) {
log.info(withdrawResponse.data);
log.info(
'Withdraw unsucessful. An additional attempt will be made after all files are uploaded.',
'Withdraw unsuccessful. An additional attempt will be made after all files are uploaded.',
);
}
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion auction-house/cli/src/helpers/upload/nft-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function* nftStorageUploadGenerator({
}): AsyncGenerator<NftStorageBundleUploadResult> {
// split asset keys into batches, each of which will be bundled into a CAR file and uploaded separately
// default to 50 NFTs per "batch" if no batchSize is given.
// larger batches require fewer signatures and will be slightly faster overall if everything is sucessful,
// larger batches require fewer signatures and will be slightly faster overall if everything is successful,
// but smaller batches will take less time to retry if there's an error during upload.
batchSize = batchSize || 50;
batchSize = Math.min(batchSize, NFTBundle.MAX_ENTRIES);
Expand Down
2 changes: 1 addition & 1 deletion fixed-price-sale/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ fn main() -> Result<(), error::Error> {
}
};

// Send builded transactions
// Send built transactions
if let Some(txs_bundle) = txs_data {
for (tx, ui_info) in txs_bundle {
client.send_and_confirm_transaction(&tx)?;
Expand Down
2 changes: 1 addition & 1 deletion fixed-price-sale/program/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use anchor_lang::{
use mpl_token_metadata::state::EDITION_MARKER_BIT_SIZE;

pub const NAME_MAX_LEN: usize = 40; // max len of a string buffer in bytes
pub const NAME_DEFAULT_SIZE: usize = 4 + NAME_MAX_LEN; // max lenght of serialized string (str_len + <buffer>)
pub const NAME_DEFAULT_SIZE: usize = 4 + NAME_MAX_LEN; // max length of serialized string (str_len + <buffer>)
pub const DESCRIPTION_MAX_LEN: usize = 60;
pub const DESCRIPTION_DEFAULT_SIZE: usize = 4 + DESCRIPTION_MAX_LEN;
pub const HOLDER_PREFIX: &str = "holder";
Expand Down
Loading