Skip to content

Commit bd8c5bd

Browse files
committed
Disable classic relay and prevent node from attempting to connect to feed
1 parent a145557 commit bd8c5bd

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

packages/arb-node-core/cmd/arb-relay/arb-relay.go

+11-2
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,18 @@ func main() {
7070
// Print line number that log was created on
7171
logger = arblog.Logger.With().Str("component", "arb-relay").Logger()
7272

73-
if err := startup(); err != nil {
74-
logger.Error().Err(err).Msg("Error running relay")
73+
logger.Info().Msg("Classic Arbitrum sequencer no longer running, so feed is nonexistent")
74+
logger.Info().Msg("Sleeping forever")
75+
for {
76+
// Sleep forever
77+
select {}
7578
}
79+
80+
/*
81+
if err := startup(); err != nil {
82+
logger.Error().Err(err).Msg("Error running relay")
83+
}
84+
*/
7685
}
7786

7887
func startup() error {

packages/arb-util/configuration/configuration.go

+5
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,11 @@ func ParseNonRelay(ctx context.Context, f *flag.FlagSet, defaultWalletPathname s
824824
return nil, nil, nil, nil, errors.New("can't create validator wallet contract with watchtower validator strategy")
825825
}
826826

827+
if len(out.Feed.Input.URLs) > 0 {
828+
logger.Info().Msg("Classic Arbitrum sequencer no longer running, so feed is nonexistent")
829+
out.Feed.Input.URLs = []string{}
830+
}
831+
827832
return out, wallet, l1Client, l1ChainId, nil
828833
}
829834

0 commit comments

Comments
 (0)