Skip to content

Commit

Permalink
Fix some typos (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 authored Jan 10, 2024
1 parent 65f3d54 commit 7d3aff4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion inabox/AnvilStateGen_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ forge script script/MockRollupDeployer.s.sol:MockRollupDeployer --rpc-url http:/
0xc5a5C42992dECbae36851359345FE25997F5C42d fb89ee77edb64bdddc6f0e840cf2265e481be2810a8868e2853243ff89bdc24e
Generating variables
Test environment has succesfully deployed!
Test environment has successfully deployed!
```

Copy generated states to states directory in this repo [here](https://github.com/Layr-Labs/eigenda-devops/tree/master/charts/anvil-chain/states)
Expand Down
2 changes: 1 addition & 1 deletion inabox/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (env *Config) DeployExperiment() {
fmt.Println("Generating variables")
env.GenerateAllVariables()

fmt.Println("Test environment has succesfully deployed!")
fmt.Println("Test environment has successfully deployed!")
}

// TODO: Supply the test path to the runner utility
Expand Down
12 changes: 6 additions & 6 deletions inabox/deploy/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func execYarnCmd(command string) {
log.Print(out.String())
}

log.Print("yarn command ran succesfully")
log.Print("yarn command ran successfully")
}

// Executes a forge script with a given rpc and private key
Expand Down Expand Up @@ -167,7 +167,7 @@ func execForgeScript(script, privateKey string, deployer *ContractDeployer, extr
log.Print(out.String())
}

log.Print("Forge script ran succesfully!")
log.Print("Forge script ran successfully!")
}

func execBashCmd(command string) {
Expand All @@ -188,7 +188,7 @@ func execBashCmd(command string) {
log.Print(out.String())
}

log.Printf("bash command succeded with params: %s", cmd)
log.Printf("bash command succeeded with params: %s", cmd)
}

// Converts a private key to an address.
Expand All @@ -208,7 +208,7 @@ func GetAddress(privateKey string) string {
log.Panicf("Failed to execute cast wallet command. Err: %s", err)
}

//log.Print("Cast wallet command ran succesfully")
//log.Print("Cast wallet command ran successfully")
return strings.Trim(out.String(), "\n")
}

Expand All @@ -229,7 +229,7 @@ func CallContract(destination string, signature string, rpcUrl string) string {
log.Panicf("Failed to execute cast wallet command. Err: %s", err)
}

log.Print("Cast call command ran succesfully")
log.Print("Cast call command ran successfully")
return strings.Trim(out.String(), "\n")
}

Expand All @@ -248,7 +248,7 @@ func GetLatestBlockNumber(rpcUrl string) int {
log.Panicf("Failed to execute cast wallet command. Err: %s", err)
}

log.Print("Cast bn command ran succesfully")
log.Print("Cast bn command ran successfully")
blockNum, err := strconv.ParseInt(strings.Trim(out.String(), "\n"), 10, 0)
if err != nil {
log.Print(fmt.Sprint(err) + ": " + stderr.String())
Expand Down
2 changes: 1 addition & 1 deletion inabox/geth/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function setup {
if [ "$#" -ne 3 ]; then
tput setaf 1
echo "Usage. num-key<int> private_keys_path<str> geth_password_path<str>"
echo "exmaple: setup 10 ../secrets/ecdsa_keys/private_keys_hex.txt ./secret/geth-account-password"
echo "example: setup 10 ../secrets/ecdsa_keys/private_keys_hex.txt ./secret/geth-account-password"
tput sgr0
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (n *Node) ProcessBatch(ctx context.Context, header *core.BatchHeader, blobs
return nil, err
}

// Sign batch header hash if all validation checks pass and data items are writen to database.
// Sign batch header hash if all validation checks pass and data items are written to database.
stageTimer = time.Now()
sig := n.KeyPair.SignMessage(batchHeaderHash)
log.Trace("Signed batch header hash", "pubkey", hexutil.Encode(n.KeyPair.GetPubKeyG2().Serialize()))
Expand Down

0 comments on commit 7d3aff4

Please sign in to comment.