Skip to content

Commit

Permalink
patch(l2geth): revert back to latest upstream optimism master (#28)
Browse files Browse the repository at this point in the history
* patch(l2geth): revert back to latest upstream optimism master

* chore: disable android tests
  • Loading branch information
gakonst authored Apr 6, 2021
1 parent 5f2e00a commit 021d955
Show file tree
Hide file tree
Showing 34 changed files with 74 additions and 661 deletions.
5 changes: 0 additions & 5 deletions l2geth/.dockerignore

This file was deleted.

3 changes: 0 additions & 3 deletions l2geth/.gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions l2geth/.gitmodules

This file was deleted.

123 changes: 0 additions & 123 deletions l2geth/.mailmap

This file was deleted.

22 changes: 0 additions & 22 deletions l2geth/Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions l2geth/Dockerfile.alltools

This file was deleted.

12 changes: 0 additions & 12 deletions l2geth/Dockerfile.dev

This file was deleted.

13 changes: 0 additions & 13 deletions l2geth/Dockerfile.test

This file was deleted.

2 changes: 0 additions & 2 deletions l2geth/Dockerfile.test.dockerignore

This file was deleted.

41 changes: 0 additions & 41 deletions l2geth/appveyor.yml

This file was deleted.

32 changes: 0 additions & 32 deletions l2geth/circle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion l2geth/cmd/geth/consolecmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

const (
ipcAPIs = "admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rollup:1.0 rollup_personal:1.0 rpc:1.0 shh:1.0 txpool:1.0 web3:1.0"
ipcAPIs = "admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rollup:1.0 rpc:1.0 shh:1.0 txpool:1.0 web3:1.0"
httpAPIs = "eth:1.0 net:1.0 rpc:1.0 web3:1.0"
)

Expand Down
1 change: 0 additions & 1 deletion l2geth/cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ var (
utils.RollupStateDumpPathFlag,
utils.RollupDiffDbFlag,
utils.RollupMaxCalldataSizeFlag,
utils.RollupL1GasPriceFlag,
}

rpcFlags = []cli.Flag{
Expand Down
1 change: 0 additions & 1 deletion l2geth/cmd/geth/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ var AppHelpFlagGroups = []flagGroup{
utils.RollupStateDumpPathFlag,
utils.RollupDiffDbFlag,
utils.RollupMaxCalldataSizeFlag,
utils.RollupL1GasPriceFlag,
},
},
{
Expand Down
9 changes: 0 additions & 9 deletions l2geth/cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -879,12 +879,6 @@ var (
Value: eth.DefaultConfig.Rollup.MaxCallDataSize,
EnvVar: "ROLLUP_MAX_CALLDATA_SIZE",
}
RollupL1GasPriceFlag = BigFlag{
Name: "rollup.l1gasprice",
Usage: "The L1 gas price to use for the sequencer fees",
Value: eth.DefaultConfig.Rollup.L1GasPrice,
EnvVar: "ROLLUP_L1_GASPRICE",
}
)

// MakeDataDir retrieves the currently requested data directory, terminating
Expand Down Expand Up @@ -1158,9 +1152,6 @@ func setRollup(ctx *cli.Context, cfg *rollup.Config) {
if ctx.GlobalIsSet(RollupTimstampRefreshFlag.Name) {
cfg.TimestampRefreshThreshold = ctx.GlobalDuration(RollupTimstampRefreshFlag.Name)
}
if ctx.GlobalIsSet(RollupL1GasPriceFlag.Name) {
cfg.L1GasPrice = GlobalBig(ctx, RollupL1GasPriceFlag.Name)
}
}

// setLes configures the les server and ultra light client settings from the command line flags.
Expand Down
22 changes: 0 additions & 22 deletions l2geth/core/rollup_fee.go

This file was deleted.

34 changes: 0 additions & 34 deletions l2geth/core/rollup_fee_test.go

This file was deleted.

Loading

0 comments on commit 021d955

Please sign in to comment.