all: fix typos in docs and comments (#31548)

Co-authored-by: lightclient <lightclient@protonmail.com>
This commit is contained in:
fuder.eth 2025-04-02 22:52:40 +03:00 committed by GitHub
parent 82f01f9f24
commit e6098437a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
The `signer` binary contains a ruleset engine, implemented with [OttoVM](https://github.com/robertkrimen/otto) The `signer` binary contains a ruleset engine, implemented with [OttoVM](https://github.com/robertkrimen/otto)
It enables usecases like the following: It enables use cases like the following:
* I want to auto-approve transactions with contract `CasinoDapp`, with up to `0.05 ether` in value to maximum `1 ether` per 24h period * I want to auto-approve transactions with contract `CasinoDapp`, with up to `0.05 ether` in value to maximum `1 ether` per 24h period
* I want to auto-approve transaction to contract `EthAlarmClock` with `data`=`0xdeadbeef`, if `value=0`, `gas < 44k` and `gasPrice < 40Gwei` * I want to auto-approve transaction to contract `EthAlarmClock` with `data`=`0xdeadbeef`, if `value=0`, `gas < 44k` and `gasPrice < 40Gwei`

View file

@ -16,7 +16,7 @@ which can
1. Take a prestate, including 1. Take a prestate, including
- Accounts, - Accounts,
- Block context information, - Block context information,
- Previous blockshashes (*optional) - Previous block hashes (*optional)
2. Apply a set of transactions, 2. Apply a set of transactions,
3. Apply a mining-reward (*optional), 3. Apply a mining-reward (*optional),
4. And generate a post-state, including 4. And generate a post-state, including

View file

@ -22,7 +22,7 @@ import "regexp"
// within its filename by the execution spec test (EEST). // within its filename by the execution spec test (EEST).
type testMetadata struct { type testMetadata struct {
fork string fork string
module string // which python module gnerated the test, e.g. eip7702 module string // which python module generated the test, e.g. eip7702
file string // exact file the test came from, e.g. test_gas.py file string // exact file the test came from, e.g. test_gas.py
function string // func that created the test, e.g. test_valid_mcopy_operations function string // func that created the test, e.g. test_valid_mcopy_operations
parameters string // the name of the parameters which were used to fill the test, e.g. zero_inputs parameters string // the name of the parameters which were used to fill the test, e.g. zero_inputs

View file

@ -275,7 +275,7 @@ func (s *skeleton) startup() {
for { for {
// If the sync cycle terminated or was terminated, propagate up when // If the sync cycle terminated or was terminated, propagate up when
// higher layers request termination. There's no fancy explicit error // higher layers request termination. There's no fancy explicit error
// signalling as the sync loop should never terminate (TM). // signaling as the sync loop should never terminate (TM).
newhead, err := s.sync(head) newhead, err := s.sync(head)
switch { switch {
case err == errSyncLinked: case err == errSyncLinked:

View file

@ -15,7 +15,7 @@
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// This file contains the code snippets from the developer's guide embedded into // This file contains the code snippets from the developer's guide embedded into
// Go tests. This ensures that any code published in out guides will not break // Go tests. This ensures that any code published in our guides will not break
// accidentally via some code update. If some API changes nonetheless that needs // accidentally via some code update. If some API changes nonetheless that needs
// modifying this file, please port any modification over into the developer's // modifying this file, please port any modification over into the developer's
// guide wiki pages too! // guide wiki pages too!