Skip to content

Commit

Permalink
op-chain-ops: move top level stuff to ether package (ethereum-optimis…
Browse files Browse the repository at this point in the history
…m#3743)

Moves the previously top level files to a new
package called `ether` that is responsible for
doing the legacy eth migration.

The OVM_ETH ERC20 token representation of ETH
will be migrated to actual ETH that is in the
storage trie.

This makes the system eth equiavalent.
  • Loading branch information
tynes authored Oct 20, 2022
1 parent 3549963 commit fa0915f
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 128 deletions.
2 changes: 1 addition & 1 deletion op-chain-ops/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
surgery:
go build -o ./surgery ./cmd/main.go
go build -o ./surgery ./cmd/surgery/main.go

test:
go test ./...
Expand Down
120 changes: 0 additions & 120 deletions op-chain-ops/cmd/main.go

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/cli.go → op-chain-ops/ether/cli.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/db.go → op-chain-ops/ether/db.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/genesis.go → op-chain-ops/ether/genesis.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/params.go → op-chain-ops/ether/params.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"math/big"
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/storage.go → op-chain-ops/ether/storage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"github.com/ethereum/go-ethereum/common"
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/util.go → op-chain-ops/ether/util.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_surgery
package ether

import (
"fmt"
Expand Down

0 comments on commit fa0915f

Please sign in to comment.