Skip to content

Commit 6058b31

Browse files
authored
Fix some typos (Sovereign-Labs#1127)
1 parent 5d61e35 commit 6058b31

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

adapters/celestia/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ with the current block. The transactions are serialized using `protobuf` and enc
8484
[compact share format](https://github.com/celestiaorg/celestia-app/blob/main/specs/src/specs/shares.md#transaction-shares).
8585

8686
In order to prove that, we use a proofs called `EtxProof` which consist of the merkle proofs for all the shares contaniing transaction
87-
as well the offset to the beggining of the cosmos transaction in first of those shares.
87+
as well the offset to the beginning of the cosmos transaction in first of those shares.
8888

8989
To venify them, we first iterate over rollup's blobs re-created from _completeness_ verification. We associate each blob
9090
with its `EtxProof`. Then we verify that the etx proof holds the contiguous range of shares and verify the merkle proofs
@@ -106,7 +106,7 @@ If all proofs and all blobs were verified successfully, that means the data is c
106106
### The DaService Trait
107107

108108
The `DaService` trait is slightly more complicated than the `DaVerifier`. Thankfully, it exists entirely outside of the
109-
rollup's state machine - so it never has to be proven in zk. This means that its perfomance is less critical, and that
109+
rollup's state machine - so it never has to be proven in zk. This means that its performance is less critical, and that
110110
upgrading it in response to a vulnerability is much easier.
111111

112112
The job of the `DAService` is to allow the Sovereign SDK's node software to communicate with a DA layer. It has two related

adapters/celestia/src/celestia.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl BlockHeader for CelestiaHeader {
204204
}
205205

206206
// We special case the block following genesis, since genesis has a `None` hash, which
207-
// we don't want to deal with. In this case, we return a specail placeholder for the
207+
// we don't want to deal with. In this case, we return a special placeholder for the
208208
// block "hash"
209209
if Height::decode_vec(&self.header.height)
210210
.expect("header must be validly encoded")

adapters/solana/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Ok(2GX1fTkufWZJVn88TiMbBEkn46NAc8acqguVAbVMhowZiJEZvNppJVWi2opC4xVoT31pcqhiaCKSj
162162
.
163163
Ok(44CoVzXpXyYKS8ucjsebuaRjwpf6bvuEzEPpaXNY85LUbT62kLc58Z21TJ6ceLfE2XU9GJevEw5k4okMaRGd1rTV)
164164
```
165-
* Simulatenously, you can see the chunk accumulation working on the terminal that's running `solana logs`
165+
* Simultaneously, you can see the chunk accumulation working on the terminal that's running `solana logs`
166166
```bash
167167
Transaction executed in slot 9290:
168168
Signature: 3bgUwqNPvKCG3yz5AXCAVhg9TbBBJqtbzsurJUXRzDLb4UMGT7d3T2pgC1kBQyT1dFmVbXfVT22dn8Uv3vJUPidZ

docker/run-validator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ provision_bridge_nodes() {
9494

9595
bridge_address=$(node_address "$bridge_name")
9696

97-
echo "Transfering $BRIDGE_COINS coins to the $bridge_name"
97+
echo "Transferring $BRIDGE_COINS coins to the $bridge_name"
9898
echo "y" | celestia-appd tx bank send \
9999
"$NODE_NAME" \
100100
"$bridge_address" \

module-system/module-implementations/sov-attester-incentives/src/tests/attestation_processing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn test_burn_on_invalid_attestation() {
168168
BOND_AMOUNT
169169
);
170170

171-
// Now proccess a valid attestation for genesis.
171+
// Now process a valid attestation for genesis.
172172
{
173173
let attestation = Attestation {
174174
initial_state_root: initial_transition.state_root,

module-system/module-implementations/sov-bank/src/token.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ impl<C: sov_modules_api::Context> Token<C> {
148148

149149
Ok(())
150150
}
151-
/// Burns a specified `amount` of token from the adress `from`. First check that the address has enough token to burn,
151+
/// Burns a specified `amount` of token from the address `from`. First check that the address has enough token to burn,
152152
/// if not returns an error. Otherwise, update the balances by substracting the amount burnt.
153153
pub(crate) fn burn(
154154
&mut self,

module-system/module-implementations/sov-evm/src/evm/error/rpc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ impl From<PoolError> for EthApiError {
599599
/// Errors returned from a sign request.
600600
#[derive(Debug, thiserror::Error)]
601601
pub enum SignError {
602-
/// Error occured while trying to sign data.
602+
/// Error occurred while trying to sign data.
603603
#[error("Could not sign")]
604604
CouldNotSign,
605605
/// Signer for requested account not found.

module-system/module-implementations/sov-evm/src/signer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub struct DevSigner {
1111

1212
#[derive(Debug, thiserror::Error)]
1313
pub enum SignError {
14-
/// Error occured while trying to sign data.
14+
/// Error occurred while trying to sign data.
1515
#[error("Could not sign")]
1616
CouldNotSign,
1717
/// Signer for requested account not found.

module-system/module-implementations/sov-nft-module/offchain_readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ psql postgres -f sovereign/module-system/module-implementations/sov-nft-module/s
4747
rm -rf demo_data; POSTGRES_CONNECTION_STRING="postgresql://username:password@localhost/postgres" cargo run --features offchain -- --da-layer mock
4848
```
4949
* Explanation of the above command
50-
* `rm -rf demo_data` is to wipe the rollup state. For testing its better to start with clean state
50+
* `rm -rf demo_data` is to wipe the rollup state. For testing it's better to start with clean state
5151
* `POSTGRES_CONNECTION_STRING` is to allow the offchain component of the `sov-nft-module` to connect to postgres instance
5252
* `--features offchain` is necessary to enable offchain processing. Without the feature, the functions are no-ops
5353
* `--da-layer mock` is used to run an in-memory local DA layer
@@ -57,4 +57,4 @@ $ cd sovereign/examples/demo-rollup
5757
$ cargo run --bin sov-nft-script
5858
```
5959
* The above script creates 3 NFT collections, mints some NFTs to each collection
60-
* The tables can be explored by connecting to postgres and running sample queries from above
60+
* The tables can be explored by connecting to postgres and running sample queries from above

rollup-interface/specs/interfaces/stf.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ state of a particular instance of the state transition function.
9393
| Name | Type | Description |
9494
| -------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
9595
| state_root | STATE_ROOT | The current state root of the rollup, calculated after applying the state transition function to the data from this slot. |
96-
| batch_receipts | BATCH_RECEIPTs | A list of receipt indicating whether each blob was applied succesfully. Each receipt an array of `TX_RECEIPT`s, indicating the result of each transaction from the blob |
96+
| batch_receipts | BATCH_RECEIPTs | A list of receipt indicating whether each blob was applied successfully. Each receipt an array of `TX_RECEIPT`s, indicating the result of each transaction from the blob |
9797
| witness | WITNESS | The witness generated from this execution of the state transition function |
9898

9999
### BatchReceipt

0 commit comments

Comments
 (0)