diff --git a/contracts/wasm/scripts/rust_all.sh b/contracts/wasm/scripts/rust_all.sh index bdcf48bbfb..b872ac0dc0 100755 --- a/contracts/wasm/scripts/rust_all.sh +++ b/contracts/wasm/scripts/rust_all.sh @@ -4,7 +4,7 @@ cd $contracts_path go install ../../tools/schema schema -rs if [ "$1" == "ci" ]; then - # in CI all, using local depenedency will make things easier + # in CI all, using local dependency will make things easier bash ./scripts/toml_localize_deps.sh fi schema -rs -build diff --git a/packages/l1connection/l1connection.go b/packages/l1connection/l1connection.go index 75cd4d07e2..1924ef4d00 100644 --- a/packages/l1connection/l1connection.go +++ b/packages/l1connection/l1connection.go @@ -182,7 +182,7 @@ func (c *l1client) waitUntilBlockConfirmed(ctx context.Context, blockID iotago.B checkContext := func() error { if err := ctx.Err(); err != nil { - return fmt.Errorf("failed to wait for block confimation within timeout: %w", err) + return fmt.Errorf("failed to wait for block confirmation within timeout: %w", err) } return nil diff --git a/packages/tcrypto/dkshare.go b/packages/tcrypto/dkshare.go index ea11aa5e2c..f13fdf6ada 100644 --- a/packages/tcrypto/dkshare.go +++ b/packages/tcrypto/dkshare.go @@ -457,7 +457,7 @@ func (s *dkShareImpl) DSSVerifyMasterSignature(data, signature []byte) error { } func (s *dkShareImpl) DSS() SecretShare { - return newDistKeyShare( // TODO: Use a singe instance. + return newDistKeyShare( // TODO: Use a single instance. &share.PriShare{ I: int(*s.index), V: s.edPrivateShare.Clone(), diff --git a/packages/testutil/peering_net_behaviour.go b/packages/testutil/peering_net_behaviour.go index 6e6237a4a1..35a0d1dca3 100644 --- a/packages/testutil/peering_net_behaviour.go +++ b/packages/testutil/peering_net_behaviour.go @@ -61,7 +61,7 @@ func (n *peeringNetReliable) recvLoop(inCh, outCh chan *peeringMsg, closeCh chan } } -// peeringNetUnreliable simulates unreliable network by droppin, repeating, delaying and reordering messages. +// peeringNetUnreliable simulates unreliable network by dropping, repeating, delaying and reordering messages. type peeringNetUnreliable struct { deliverPct int // probability to deliver a message (in percents) repeatPct int // Probability to repeat a message (in percents, if delivered) diff --git a/packages/transaction/change_gov_controller.go b/packages/transaction/change_gov_controller.go index 8dce36bbca..9137c6c219 100644 --- a/packages/transaction/change_gov_controller.go +++ b/packages/transaction/change_gov_controller.go @@ -36,7 +36,7 @@ func NewChangeGovControllerTx( newConditions := make(iotago.UnlockConditions, len(chainOutput.Conditions)) for i, c := range chainOutput.Conditions { if _, ok := c.(*iotago.GovernorAddressUnlockCondition); ok { - // change the gov unlock condiiton to the new owner + // change the gov unlock condition to the new owner newConditions[i] = &iotago.GovernorAddressUnlockCondition{ Address: newGovController, } diff --git a/tools/dbinspector/dbinspector.md b/tools/dbinspector/dbinspector.md index 6d50b4d5b5..3f78f10d65 100644 --- a/tools/dbinspector/dbinspector.md +++ b/tools/dbinspector/dbinspector.md @@ -2,7 +2,7 @@ Small utility to analyze the database contents of a wasp node. -Simply run the exectutable and pass the path to the wasp database: +Simply run the executable and pass the path to the wasp database: ```shell dbinspector /path/to/waspdb