Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
6b935f0a
Unverified
Commit
6b935f0a
authored
Sep 21, 2023
by
OptimismBot
Committed by
GitHub
Sep 21, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7336 from ethereum-optimism/deps/delete-dead-geth-types
core-utils: delete unmaintained geth types
parents
0b33fc32
145c37a5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
88 deletions
+5
-88
beige-poems-switch.md
.changeset/beige-poems-switch.md
+5
-0
geth-types.ts
packages/core-utils/src/external/geth/geth-types.ts
+0
-82
index.ts
packages/core-utils/src/external/geth/index.ts
+0
-5
index.ts
packages/core-utils/src/external/index.ts
+0
-1
No files found.
.changeset/beige-poems-switch.md
0 → 100644
View file @
6b935f0a
---
'
@eth-optimism/core-utils'
:
minor
---
Delete unmaintained geth types
packages/core-utils/src/external/geth/geth-types.ts
deleted
100644 → 0
View file @
0b33fc32
// Types explicitly related to dealing with Geth.
/**
* Represents the Ethereum state, in the format that Geth expects it.
*/
export
interface
State
{
[
address
:
string
]:
{
nonce
?:
string
balance
?:
string
codeHash
?:
string
root
?:
string
code
?:
string
storage
?:
{
[
key
:
string
]:
string
}
secretKey
?:
string
}
}
/**
* Represents Geth's ChainConfig
*/
export
interface
ChainConfig
{
chainId
:
number
homesteadBlock
:
number
eip150Block
:
number
eip150Hash
?:
string
eip155Block
:
number
eip158Block
:
number
byzantiumBlock
:
number
constantinopleBlock
:
number
petersburgBlock
:
number
istanbulBlock
:
number
muirGlacierBlock
:
number
berlinBlock
:
number
londonBlock
?:
number
arrowGlacierBlock
?:
number
grayGlacierBlock
?:
number
mergeNetsplitBlock
?:
number
terminalTotalDifficulty
?:
number
clique
?:
{
period
:
number
epoch
:
number
}
ethash
?:
{}
}
/**
* Represents Geth's genesis file format.
*/
export
interface
Genesis
{
config
:
ChainConfig
nonce
?:
string
timestamp
?:
string
difficulty
:
string
mixHash
?:
string
coinbase
?:
string
number
?:
string
gasLimit
:
string
gasUsed
?:
string
parentHash
?:
string
extraData
:
string
baseFeePerGas
?:
string
alloc
:
State
}
/**
* Represents the chain config for an Optimism chain
*/
export
interface
OptimismChainConfig
extends
ChainConfig
{
optimism
:
{
baseFeeRecipient
:
string
l1FeeRecipient
:
string
}
}
/**
* Represents the Genesis file format for an Optimism chain
*/
export
interface
OptimismGenesis
extends
Genesis
{
config
:
OptimismChainConfig
}
packages/core-utils/src/external/geth/index.ts
deleted
100644 → 0
View file @
0b33fc32
/**
* Utilities related to go-ethereum (Geth)
*/
export
*
from
'
./geth-types
'
packages/core-utils/src/external/index.ts
View file @
6b935f0a
...
...
@@ -4,4 +4,3 @@
export
*
from
'
./bcfg
'
export
*
from
'
./ethers
'
export
*
from
'
./geth
'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment