Skip to content

Commit

Permalink
chore: fix typos (#2717)
Browse files Browse the repository at this point in the history
* chore: fix typos

* chore: fix typo
  • Loading branch information
simlecode authored Apr 25, 2024
1 parent 35fd958 commit a037188
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion domains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Once the domain epoch is finished, Operator can produce bundles from the new epo

### Start the domain operator node

The domain operator node runs with an embededded consensus node, thus you need to specify the args for both the consensus node and the domain operator node:
The domain operator node runs with an embedded consensus node, thus you need to specify the args for both the consensus node and the domain operator node:

```bash
subspace-node [consensus-chain-args] -- [domain-args]
Expand Down
2 changes: 1 addition & 1 deletion domains/client/block-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ where
// TODO: This is used to keep compatible with gemini-3h, remove before next network
//
// HACK: ideally, any network should maintain the inherent extrinsic order to keep consistency
// with the order in the fraud proof verifiaction side, but in gemini-3h, the domain inherent
// with the order in the fraud proof verification side, but in gemini-3h, the domain inherent
// extrinsic order is changed in the ER that derived from the consensus block #168431, we have
// to follow this change in the client side to ensure every domain node that sync from genesis
// will produce the same ER and hence can successfully submit ER to exend the previous ER.
Expand Down
4 changes: 2 additions & 2 deletions domains/client/domain-operator/src/domain_bundle_proposer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const MAX_SKIPPED_TRANSACTIONS: usize = 8;
const BUNDLE_UTILIZATION_THRESHOLD: Percent = Percent::from_percent(95);

// `PreviousBundledTx` used to keep track of tx that have included in previous bundle and avoid
// to re-include the these tx in the following bundle to reduce deplicated tx.
// to re-including these transactions in the next bundle if the consensus hash did not change.
struct PreviousBundledTx<Block: BlockT, CBlock: BlockT> {
bundled_at: <CBlock as BlockT>::Hash,
tx_hashes: HashSet<<Block as BlockT>::Hash>,
Expand Down Expand Up @@ -239,7 +239,7 @@ where
let mut bundle_size = 0u32;
let mut skipped = 0;

// Seperate code block to make sure that runtime api instance is dropped after validation is done.
// Separate code block to make sure that runtime api instance is dropped after validation is done.
{
// We are using one runtime api instance here to maintain storage changes in the instance's internal buffer
// between runtime calls done in this loop.
Expand Down
2 changes: 1 addition & 1 deletion domains/client/domain-operator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
//! of extrinsics from the transaction pool which are verified to be able to cover the transaction
//! fee. With these colltected extrinsics, the bundle election solution and proper receipts, a
//! [`Bundle`] can be constructed and then be submitted to the consensus chain. The transactions
//! included in each bundle are uninterpretable blob from the consensus chain's persepective.
//! included in each bundle are uninterpretable blob from the consensus chain's perspective.
//!
//! - On each imported consensus block, operators will extract all the needed bundles from it
//! and convert the bundles to a list of extrinsics, construct a custom [`BlockBuilder`] to
Expand Down

0 comments on commit a037188

Please sign in to comment.