diff --git a/target_chains/aptos/contracts/sources/batch_price_attestation.move b/target_chains/aptos/contracts/sources/batch_price_attestation.move index 0782dc4a63..71319fc3e8 100644 --- a/target_chains/aptos/contracts/sources/batch_price_attestation.move +++ b/target_chains/aptos/contracts/sources/batch_price_attestation.move @@ -133,7 +133,7 @@ module pyth::batch_price_attestation { // the attester. // If status is trading, use the current price. - // If not, use the the last known trading price. + // If not, use the last known trading price. let current_price = pyth::price::new(price, conf, expo, publish_time); if (status != price_status::new_trading()) { current_price = pyth::price::new(prev_price, prev_conf, expo, prev_publish_time); diff --git a/target_chains/ethereum/entropy_sdk/solidity/EntropyStructs.sol b/target_chains/ethereum/entropy_sdk/solidity/EntropyStructs.sol index d5a08069e6..f6d603ac79 100644 --- a/target_chains/ethereum/entropy_sdk/solidity/EntropyStructs.sol +++ b/target_chains/ethereum/entropy_sdk/solidity/EntropyStructs.sol @@ -11,7 +11,7 @@ contract EntropyStructs { // and instead is stored to help providers track where they are in the hash chain. bytes32 originalCommitment; uint64 originalCommitmentSequenceNumber; - // Metadata for the current commitment. Providers may optionally use this field to to help + // Metadata for the current commitment. Providers may optionally use this field to help // manage rotations (i.e., to pick the sequence number from the correct hash chain). bytes commitmentMetadata; // Optional URI where clients can retrieve revelations for the provider. diff --git a/target_chains/fuel/contracts/pyth-interface/src/interface.sw b/target_chains/fuel/contracts/pyth-interface/src/interface.sw index d08c4f5905..29989cae0f 100644 --- a/target_chains/fuel/contracts/pyth-interface/src/interface.sw +++ b/target_chains/fuel/contracts/pyth-interface/src/interface.sw @@ -53,7 +53,7 @@ abi PythCore { /// # Reverts /// /// * When the EMA price is not available. - /// * When the the EMA price wasn't updated recently enough. + /// * When the EMA price wasn't updated recently enough. #[storage(read)] fn ema_price_no_older_than(time_period: u64, price_feed_id: PriceFeedId) -> Price; diff --git a/target_chains/solana/sdk/js/pyth_solana_receiver/src/vaa.ts b/target_chains/solana/sdk/js/pyth_solana_receiver/src/vaa.ts index 8594c822c3..0aa9c8277a 100644 --- a/target_chains/solana/sdk/js/pyth_solana_receiver/src/vaa.ts +++ b/target_chains/solana/sdk/js/pyth_solana_receiver/src/vaa.ts @@ -79,7 +79,7 @@ export async function buildEncodedVaaCreateInstruction( } /** - * Writing the VAA to to an encoded VAA account is done in 2 instructions. + * Writing the VAA to an encoded VAA account is done in 2 instructions. * * The first one writes the first `VAA_SPLIT_INDEX` bytes and the second one writes the rest. * diff --git a/target_chains/sui/contracts/sources/batch_price_attestation.move b/target_chains/sui/contracts/sources/batch_price_attestation.move index 51ec217453..8274209952 100644 --- a/target_chains/sui/contracts/sources/batch_price_attestation.move +++ b/target_chains/sui/contracts/sources/batch_price_attestation.move @@ -135,7 +135,7 @@ module pyth::batch_price_attestation { // the attester. // If status is trading, use the current price. - // If not, use the the last known trading price. + // If not, use the last known trading price. let current_price = pyth::price::new(price, conf, expo, publish_time); if (status != price_status::new_trading()) { current_price = pyth::price::new(prev_price, prev_conf, expo, prev_publish_time);