Skip to content

Commit

Permalink
remove rawdb.TargetFromString and rawdb.Target.ToString
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Aug 12, 2024
1 parent a75f682 commit 01e2210
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/rawdb/accessors_state_arbitrum.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const (
TargetHost Target = "host"
)

func (t Target) ToString() string {
return string(t)
}

func (t Target) keyPrefix() ([]byte, error) {
var prefix []byte
switch t {
Expand All @@ -59,10 +55,6 @@ func (t Target) IsValid() bool {
return err == nil
}

func TargetFromString(str string) Target {
return Target(str)
}

var Targets = []Target{TargetWavm, TargetArm64, TargetAmd64, TargetHost}

func WriteActivation(db ethdb.KeyValueWriter, moduleHash common.Hash, asmMap map[Target][]byte) {
Expand Down

0 comments on commit 01e2210

Please sign in to comment.