Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Fix typographical errors #91

Merged
merged 1 commit into from
Jan 9, 2024
Merged
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
12 changes: 6 additions & 6 deletions bootloader/bootloader.yul
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ object "Bootloader" {
/// @dev The computational overhead for a batch.
/// It includes the combined price for 1 instance of all the circuits
/// (since they might be partially filled), the price for running
/// the common parts of the bootloader as well as general maintainance of the system.
/// the common parts of the bootloader as well as general maintenance of the system.
function BATCH_OVERHEAD_L2_GAS() -> ret {
ret := {{BATCH_OVERHEAD_L2_GAS}}
}
Expand Down Expand Up @@ -108,7 +108,7 @@ object "Bootloader" {
}

/// @dev The slot from which the scratch space starts.
/// Scatch space is used for various temporary values
/// Scratch space is used for various temporary values
function SCRATCH_SPACE_BEGIN_SLOT() -> ret {
ret := 8
}
Expand Down Expand Up @@ -343,7 +343,7 @@ object "Bootloader" {

/// @dev Slots needed to store L1 Messenger pubdata.
/// @dev Note that are many more these than the maximal pubdata in batch, since
/// it needs to also accomodate uncompressed state diffs that are required for the state diff
/// it needs to also accommodate uncompressed state diffs that are required for the state diff
/// compression verification.
function OPERATOR_PROVIDED_L1_MESSENGER_PUBDATA_SLOTS() -> ret {
ret := {{OPERATOR_PROVIDED_L1_MESSENGER_PUBDATA_SLOTS}}
Expand Down Expand Up @@ -2764,7 +2764,7 @@ object "Bootloader" {
)
}
default {
// For L2 transactions, we use near call panic, it will triger the validation
// For L2 transactions, we use near call panic, it will trigger the validation
// step of the transaction to fail, returning a consistent error message.
nearCallPanic()
}
Expand Down Expand Up @@ -3881,7 +3881,7 @@ object "Bootloader" {
setTxOrigin(0)
setGasPrice(0)

// Transfering all the ETH received in the block to the operator
// Transferring all the ETH received in the block to the operator
directETHTransfer(
selfbalance(),
OPERATOR_ADDRESS
Expand All @@ -3894,7 +3894,7 @@ object "Bootloader" {
// So we need to have this method to reflect it in the system contracts too.
//
// The reason is that as of now our node requires that each storage write (event, etc) belongs to a particular
// L2 block. In case a batch is sealed by timeout (i.e. the resources of the batch have not been exhaused, but we need
// L2 block. In case a batch is sealed by timeout (i.e. the resources of the batch have not been exhausted, but we need
// to seal it to assure timely finality), we need to process sending funds to the operator *after* the last
// non-empty L2 block has been already sealed. We can not override old L2 blocks, so we need to create a new empty "fictive" block for it.
//
Expand Down
Loading