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

VM/SM: Bundle Optimizations (Default wo Caches+EVMMockBlockchain, SM Code put() Fix, VerkleSM out, runTx()+Code Opts) #3601

Merged
merged 25 commits into from
Aug 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
57d382f
Use shallowCopy() Caches copy() optimization also for VerkleSM to avo…
holgerd77 Aug 17, 2024
c3eb295
Fix default state manager missing direct code write when used without…
holgerd77 Aug 17, 2024
bef2953
Do not initialize caches for default VM state manager
holgerd77 Aug 17, 2024
57cad15
Remove copy test not making sense any more under generalized cache/no…
holgerd77 Aug 17, 2024
b903ad4
Some more solid/qualified EVM dummy blockchain + interface naming to …
holgerd77 Aug 17, 2024
185d005
Use EVMMockBlockchain(Interface) as default for the VM, adjust some t…
holgerd77 Aug 17, 2024
8567b46
Move @ethereumjs/blockchain to dev dependencies in VM
holgerd77 Aug 17, 2024
86dcb21
Rebuild package-lock.json
holgerd77 Aug 17, 2024
01e6266
Adjust/fix some client tests
holgerd77 Aug 17, 2024
1692654
Lint fix
holgerd77 Aug 17, 2024
83db446
Add Verkle SM methods as optional methods to interface, replace Verkl…
holgerd77 Aug 17, 2024
78939cb
Also align client (no real effect yet, but generally try to work more…
holgerd77 Aug 17, 2024
6a803a1
Initialize runTx() default block with simpler constructor to avoid dr…
holgerd77 Aug 17, 2024
599bcca
Fully switch to DEFAULT_HEADER in VM.runTx() to avoid drawing in bloc…
holgerd77 Aug 17, 2024
8aa1e27
Opcode list size optimization
holgerd77 Aug 17, 2024
5ee5244
More optimizations
holgerd77 Aug 17, 2024
bf22d21
Precompile code optimizations
holgerd77 Aug 17, 2024
e337575
More optimizations (precompile index.ts file)
holgerd77 Aug 17, 2024
fe3813b
Some more
holgerd77 Aug 17, 2024
a96f926
Some doc compatification
holgerd77 Aug 17, 2024
9d25fde
Add CSpell checker to CI and fix typos (#3590)
jochem-brouwer Aug 17, 2024
f399286
Fix spell check
holgerd77 Aug 19, 2024
5064200
Merge branch 'master' into vm-statemanager-bundle-optimizations
holgerd77 Aug 19, 2024
79f7672
Remove accidentally committed examples/test.ts file
holgerd77 Aug 19, 2024
f613b0e
Merge branch 'vm-statemanager-bundle-optimizations' of https://github…
holgerd77 Aug 19, 2024
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
Prev Previous commit
Next Next commit
Add CSpell checker to CI and fix typos (#3590)
* monorepo: add cspell, add ALL unknown words to valid words

* cspell: split unknown words in ts/md

* filter out wrong words in cspell-ts.json

* cspell ignore hex values

* fix typos in all packages

* cspell: use cache

* cspell: update commands

* cspell: update md/ts words

* Typo fixes for README/CHANGELOG files

* cspell: ensure all relevant monorepo md files are checked

* ci: add cspell job

* cspell: update command

* temp add bogus to markdown

* remove bogus spell

* update ci name

* fix remaining typos + add words to cspell dict

* Update packages/client/CHANGELOG.md

* Update packages/util/CHANGELOG.md

* address review

* Remove almost all `cspell:ignore` (#3599)

* remove almost all cspell:ignore

* more spell changes

* cspell: fix problems

* evm: fix quadCoefficient

* cspell: fixes

* remove disable line

---------

Co-authored-by: Gabriel Rocheleau <contact@rockwaterweb.com>
2 people authored and holgerd77 committed Aug 19, 2024
commit 9d25fde81420aa86346383431f5b4048817be318
25 changes: 25 additions & 0 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Spell check (cspell)
on:
push:
branches: [master, develop]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
run-spellcheck-cspell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'

- run: npm run cspell
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -115,3 +115,6 @@ stats.html

## Vitest
__snapshots__

# CSpell
.cspellcache
318 changes: 318 additions & 0 deletions config/cspell-md.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,318 @@
{
"language": "en-US",
"ignoreRegExpList": ["/0x[0-9A-Fa-f]+/"],
"words": [
"Dencun",
"Hardfork",
"acolytec",
"hardfork",
"Holesky",
"MCOPY",
"SELFDESTRUCT",
"BLOBBASEFEE",
"keccak",
"Verkle",
"devnet",
"devp2p",
"hardforks",
"renamings",
"chainsafe",
"secp256k1",
"eips",
"extradata",
"devnets",
"tada",
"statemanager",
"ethash",
"NOTURN",
"subclassing",
"Randao",
"PREVRANDAO",
"Ghorbanian",
"merkle",
"backports",
"behaviour",
"Ethash",
"Chainstart",
"Promisification",
"promisified",
"chainstart",
"callbackify",
"vpulim",
"chaindata",
"leveldb",
"Gitter",
"ethjs",
"ruleset",
"polkadot",
"stabilizations",
"holesky",
"newpayload",
"bootnodes",
"bootnode",
"vmexecution",
"sszify",
"libp2p",
"forkchoice",
"blockhash",
"Dockerfiles",
"blockfetcher",
"txpool",
"subchain",
"enode",
"unpadded",
"Ints",
"reverseblockfetcher",
"forkhash",
"Logvinov",
"Taunas",
"helprpc",
"loglevel",
"Logfile",
"prefund",
"Yolov",
"Calaveras",
"Vinay",
"Pulim",
"Rlpx",
"rlpx",
"hiveview",
"Prysm",
"prysm",
"prysmctl",
"datadir",
"jwtsecret",
"rustup",
"DATADIR",
"maxpeers",
"syncmode",
"nodiscover",
"sealhash",
"Nethermind",
"Merkle",
"ethpandaops",
"Teku",
"prefunded",
"etherbase",
"findneighbour",
"testnetworks",
"testnests",
"DATAFEE",
"MULTIPEER",
"syncpeer",
"Beaconsync",
"datadirs",
"NETWORKID",
"ELCLIENT",
"beaconsync",
"testvectors",
"Snapsync",
"snapsync",
"beaconchain",
"VZWK",
"Rwlk",
"USVGK",
"Kmhd",
"EAAAEAIAAAAAAAAAI",
"Ahtu",
"NBHJMH",
"Nwgi",
"multiaddrs",
"teku",
"nethermind",
"besu",
"Forkid",
"initcode",
"erigon",
"Lvmc",
"DATAHASH",
"BLOBHASH",
"timebased",
"Renamings",
"Authcall",
"Tyneway",
"SLOAD",
"SSTORE",
"calaveras",
"yolov",
"BASEFEE",
"EIPs",
"Forkhash",
"Forkhashes",
"AUTHCALL",
"Kademlia",
"forkid",
"scure",
"paulmillr",
"Neighbours",
"neighbour",
"ecies",
"RLPX",
"BOOTNODES",
"Kbucket",
"datagram",
"UDPPORT",
"TCPPORT",
"ECIES",
"Neighbour",
"findneighbours",
"pydevp",
"mkcache",
"ethashjs",
"validblock",
"rustbn",
"Preimage",
"verkle",
"Preimages",
"modexp",
"roninjin",
"kchojn",
"ripemd",
"Jochem",
"JUMPDEST",
"MLOAD",
"MSTORE",
"KECCAK",
"TLOAD",
"TSTORE",
"Initcode",
"bnadd",
"bnmul",
"fulltext",
"eventemitter",
"Codesize",
"BLOCKHASH",
"selfdestruct",
"jochem",
"brouwer",
"alcuadrado",
"Checkpointing",
"checkpointing",
"MODEXP",
"RIPEMD",
"Rebalance",
"Sina",
"Promisified",
"ecmul",
"Stateroot",
"hotfixing",
"EXTCODEHASH",
"mattdean",
"digicatapult",
"rmeissner",
"jwasinger",
"Agusx",
"Holger",
"danjm",
"whymarrh",
"seesemichaelj",
"axic",
"totalgas",
"RETURNDATA",
"STATICCALL",
"sstore",
"CALLCODE",
"Mgas",
"wemeetagain",
"Schtroumpf",
"holgerd",
"rbtree",
"sdsl",
"vitalik",
"Vitalik",
"Kaustinen",
"faustbrian",
"bmark",
"samlior",
"checkpointed",
"retwrite",
"maindb",
"memdown",
"Rocheleau",
"Vitalik's",
"LMDB",
"lmdb",
"flamegraph",
"thislog",
"thatlog",
"otherlog",
"sublog",
"myscript",
"behaviours",
"unhashed",
"xghi",
"gregthegreek",
"danksharding",
"ecsign",
"Unpadded",
"talentlessguy",
"Nomic",
"unpad",
"Keccak",
"prebuilds",
"keccakjs",
"retesteth",
"testdata",
"Statetest",
"jsontrace",
"nomemory",
"statetest",
"pyethereum",
"evmlab",
"holiman",
"flamegraphs",
"testpath",
"TESTPATH",
"RETESTETH",
"thirdparty",
"hdkey",
"jackalope",
"Libray",
"explcit",
"ricmoo",
"scryptsy",
"randombytes",
"ICAP",
"cryptocoinjs",
"xpub",
"xpriv",
"Thirdparty",
"icap",
"ethereumhdkey",
"dklen",
"hmac",
"Beregszaszi",
"mfornet",
"blockfill",
"Heydiho",
"bazel",
"tlsv",
"lcli",
"extip",
"unauditability",
"ized",
"`scanf`",
"tomonari",
"dryajov",
"dgram",
"krzkaczor",
"libotony",
"xvfb",
"alextsg",
"Merkling",
"ledgerhq",
"accountprivate",
"accountimport",
"echash",
"pubkey",
"unpublish",
"poap",
"nycrc",
"gitpkg",
"multiaddress",
"triggerable",
"MCLBLS",
"heartedly",
"beaconroot"
]
}
Loading