Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos fix #3817

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func LoadGenesisFileAsString(cfgPath string) (string, error) {
}
return string(b), nil
} else {
return "", errors.New("custom netwrork file not provided. Please use the custom-network-file flag")
return "", errors.New("custom network file not provided. Please use the custom-network-file flag")
}
}

Expand Down
2 changes: 1 addition & 1 deletion db/migrations/state/0024.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CREATE TABLE IF NOT EXISTS state.blob_inner_in
blob_type_proof VARCHAR
);

comment on column state.blob_inner_in.updated_at is 'the creation time is blob_sequence.created_at, this is the last time when was updated (tipically Now() )';
comment on column state.blob_inner_in.updated_at is 'the creation time is blob_sequence.created_at, this is the last time when was updated (typically Now() )';
comment on column state.blob_inner_in.blob_type is 'call_data, blob or forced';
comment on column state.blob_inner_in.blob_data_hash is 'is the hash of the blobData';

Expand Down
2 changes: 1 addition & 1 deletion event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (
EventID_FinalizerRestart EventID = "FINALIZER RESTART"
// EventID_FinalizerBreakEvenGasPriceBigDifference is triggered when the finalizer recalculates the break even gas price and detects a big difference
EventID_FinalizerBreakEvenGasPriceBigDifference EventID = "FINALIZER BREAK EVEN GAS PRICE BIG DIFFERENCE"
// EventID_SynchronizerRestart is triggered when the Synchonizer restarts
// EventID_SynchronizerRestart is triggered when the Synchronizer restarts
EventID_SynchronizerRestart EventID = "SYNCHRONIZER RESTART"
// EventID_SynchronizerHalt is triggered when the synchronizer halts
EventID_SynchronizerHalt EventID = "SYNCHRONIZER HALT"
Expand Down
10 changes: 5 additions & 5 deletions proto/src/proto/executor/v1/executor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ message ProcessTransactionResponse {
// Logs emited by LOG opcode
repeated Log logs = 11;
FullTrace full_trace = 14;
// Efective Gas Price
// Effective Gas Price
string effective_gas_price = 15;
uint32 effective_percentage = 16;
// Flag to indicate if opcode 'GASPRICE' has been called
Expand Down Expand Up @@ -524,7 +524,7 @@ message ProcessBlockResponseV2 {
bytes block_hash = 10;
// transaction responses
repeated ProcessTransactionResponseV2 responses = 11;
// All Logs emited by LOG opcode during the block
// All Logs emitted by LOG opcode during the block
repeated LogV2 logs = 12;
// Any error encountered during block execution
RomError error = 13;
Expand All @@ -551,7 +551,7 @@ message ProcessTransactionResponseV2 {
uint64 gas_left = 8;
// Total gas used as result of execution or gas estimation
uint64 gas_used = 9;
// Cumulative gas used by this tranaction in the block
// Cumulative gas used by this transaction in the block
uint64 cumulative_gas_used = 10;
// Total gas refunded as result of execution
uint64 gas_refunded = 11;
Expand All @@ -561,7 +561,7 @@ message ProcessTransactionResponseV2 {
string create_address = 13;
// State Root
bytes state_root = 14;
// All Logs emited by LOG opcode during this transaction
// All Logs emitted by LOG opcode during this transaction
repeated LogV2 logs = 15;
// Trace
FullTraceV2 full_trace = 16;
Expand Down Expand Up @@ -1119,4 +1119,4 @@ enum RomBlobError {
ROM_BLOB_ERROR_INVALID_FORCED_BATCHES = 7;
// ROM_BLOB_ERROR_INVALID_TOTALBODY_LEN totalBodyLen != blobDataLen - 1 (byte compression) - 4 (bytes totalBodyLen)
ROM_BLOB_ERROR_INVALID_TOTALBODY_LEN = 8;
}
}