Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Axelar with main merged, fixes, upgrade updates #236

Merged
merged 127 commits into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
355b126
pin goreleaser to 1.9.2
EricBolten Oct 14, 2022
318442d
add tendermint to grpc gateway
EricBolten Dec 11, 2022
7e2062d
v5 incentives/gravity rc1 (#201)
EricBolten Feb 18, 2023
d3f379b
v5 -> v6
EricBolten Mar 22, 2023
b2efac9
move to github runners, go to 1.19, mod tidy
EricBolten Mar 22, 2023
f511ddd
cosmos-sdk 0.45.13, ibc-go 3.4.0
EricBolten Mar 22, 2023
8de2a87
fix proto go packages to v6
EricBolten Mar 22, 2023
1e0f664
v6 upgrade
EricBolten Mar 22, 2023
a169e7d
Update linter for go 1.19
EricBolten Mar 22, 2023
cde9b7c
Appease linter
EricBolten Mar 22, 2023
54f4e05
clean build
mvid Apr 4, 2023
e726d40
bring over axelar module
mvid Apr 4, 2023
d190bfb
redo axelar corks with cork v2
mvid Apr 12, 2023
e93514c
rpc endpoints for hitting axelar
mvid Apr 14, 2023
bd81a11
cleanup for CLI
mvid Apr 17, 2023
83cde22
clean up CLI
mvid Apr 17, 2023
61f2ac0
sdk down to 0.45.10, tendermint to 0.34.22
EricBolten Apr 25, 2023
94f3b17
golang back down to 1.18
EricBolten Apr 25, 2023
c41ba6a
Update v6 upgrade README
EricBolten Apr 25, 2023
ec2739e
proposal trasnfered from gravity
mvid Apr 25, 2023
927c250
typo
mvid Apr 25, 2023
a885feb
update for heighliner
mvid May 3, 2023
f2877b3
genesis updates
mvid May 3, 2023
465c4c2
governance
mvid May 3, 2023
ee5fe9d
rename msg field
mvid May 3, 2023
a7bacc3
some review updates
mvid May 5, 2023
be1bffb
more review updates
mvid May 5, 2023
530fe58
even more review updates!
mvid May 5, 2023
9e18aad
proposal updates
mvid May 5, 2023
4cc1105
chain configs query
mvid May 5, 2023
29fe77e
comment updates
mvid May 6, 2023
0eeb0b2
fix issue with ID in key parsing
mvid May 17, 2023
b438612
add staking mocks
mvid May 17, 2023
c138859
all existing cork v2 tests pass
mvid May 17, 2023
1691acd
add mocks to sc
mvid May 17, 2023
4af566d
tests for middleware
mvid Jun 5, 2023
c19ea7c
empty payload
mvid Jun 5, 2023
05470ad
prost build
mvid Jun 20, 2023
200ff49
bring in changes from cork v2
mvid Jun 20, 2023
85cce47
actual prost build
mvid Jun 22, 2023
d49ed24
include modules
mvid Jun 22, 2023
2069278
namespace issue
mvid Jun 22, 2023
050d855
unique gov prop ids
mvid Jun 26, 2023
2514b01
unused interchain test
mvid Jun 26, 2023
1d61e92
go mod conflict
mvid Jun 26, 2023
51dff16
move scoped axelar keeper
mvid Jun 27, 2023
c22b34a
issue with params key table
mvid Jun 27, 2023
90db919
app.go fixes for axelar cork
mvid Jun 27, 2023
06340a7
something is funky with codec registrations
mvid Jun 27, 2023
5bab5af
more prop types
mvid Jun 29, 2023
6fb0c77
all proposals
mvid Jun 29, 2023
494d6d1
unit test pass
mvid Jun 29, 2023
54f88ae
clarify all registered types
mvid Jun 30, 2023
0695e31
newer protos broken for axelar cork
mvid Jun 30, 2023
b320c7d
downgrade bufbuild
mvid Jun 30, 2023
75febe0
old version cellar fees
mvid Jun 30, 2023
c0f091a
Bolten/test axelar buf (#220)
mvid Jun 30, 2023
e339a62
rebuild prost from new (old) buf build
mvid Jul 3, 2023
5e0b04e
compiles
mvid Jul 6, 2023
abb11d6
params unit tests
mvid Jul 6, 2023
d56e88c
lint pass
mvid Jul 6, 2023
cae2365
prost build
mvid Jul 6, 2023
0a5659c
validate disabled
mvid Jul 7, 2023
f5a3861
review pass
mvid Jul 13, 2023
f2c80e6
only chain id
mvid Jul 13, 2023
c047631
more updates
mvid Jul 16, 2023
ef1cc7f
import gravity module to pull delegate information
mvid Jul 19, 2023
33dc46b
adjust mocks
mvid Jul 19, 2023
ac62ab5
set protocgen back to previous
mvid Jul 19, 2023
86ae9dd
linting
mvid Jul 19, 2023
3757e0e
test configuration correct for scenario
mvid Jul 20, 2023
8f5d968
return proto update to previous style
mvid Jul 20, 2023
fe27312
resetting swagger script to previous
mvid Jul 20, 2023
c021d9f
another pass
mvid Jul 26, 2023
46ec04f
more changes
mvid Jul 26, 2023
3dc9011
cleanup local script changes for protos
mvid Jul 26, 2023
5a7b6d8
encode id to string on result retrieval
mvid Jul 26, 2023
40bb3c0
revert cellarfee protos
mvid Jul 26, 2023
30d1901
test update for hex
mvid Jul 26, 2023
5fb45e9
cork timeouts
mvid Jul 28, 2023
c19a92c
updates for unused cancel msg
mvid Jul 28, 2023
087ca62
several review comments
mvid Jul 31, 2023
6ede3f7
Add AxelarContractCallNonce types and keeper methods
cbrit Sep 15, 2023
ad59ab4
Update tests
cbrit Sep 15, 2023
be7b58d
Update protos, generate docs
cbrit Sep 18, 2023
83c5456
Add deadline to AxelarCork state and keeper methods
cbrit Sep 18, 2023
2db0718
Add deadline and noce to RelayCork payload
cbrit Sep 18, 2023
d213dcf
Initial axelar proxy upgrade types and logic
cbrit Sep 19, 2023
88d230a
Unit tests and rename encoding method
cbrit Sep 19, 2023
1b52a60
Fix proto errors
cbrit Sep 19, 2023
0b3ea21
Make linter happy
cbrit Sep 19, 2023
660b1a6
Upgrade data iterator
cbrit Sep 19, 2023
3ec15dc
Init/ExportGenesis for upgrade data
cbrit Sep 19, 2023
71f0fd8
Tweak keeper comments
cbrit Sep 19, 2023
06c691b
More accurate test name
cbrit Sep 19, 2023
62d975f
Tweak tests
cbrit Sep 19, 2023
6dc13c2
Clarify proxy encoding arg name
cbrit Sep 19, 2023
b94c72d
Revert "Clarify proxy encoding arg name"
cbrit Sep 19, 2023
ed59e54
CLI tx commands for new proposals
cbrit Sep 19, 2023
6c1bbd5
Proposal boilerplate, queries, CLI, fixes
cbrit Sep 19, 2023
4c25eee
Wire up handlers
cbrit Sep 19, 2023
80d09c4
Improved Axelar call encoding/decoding, add unit test
cbrit Sep 21, 2023
588a286
Add proxy upgrade to IBC packet validation
cbrit Sep 21, 2023
5a845c8
Rename packet validation method
cbrit Sep 21, 2023
ba5f880
Add missing validation for upgrade packet
cbrit Sep 21, 2023
7cb8b81
Remove unneeded comment
cbrit Sep 21, 2023
41c68e7
Add new axelar proposal handlers to BasicManager
cbrit Sep 27, 2023
bf0fd69
Add message type constant for relay upgrade message
cbrit Sep 27, 2023
9aadba3
Remove unused struct
cbrit Sep 27, 2023
d978004
Register missing messages with legacy amino codec
cbrit Sep 27, 2023
01a36af
Add ValidateBasic() for new state and add to default genesis
cbrit Sep 27, 2023
a778abf
Update somm_proto crate
cbrit Sep 27, 2023
7965628
Add new query commands to CLI
cbrit Sep 27, 2023
e34eb14
Add new tx command to CLI
cbrit Sep 27, 2023
8a40d0f
Lock somm_proto crate to steward compatible version
cbrit Sep 28, 2023
d5a0c85
Update Cellar IDs query and add QueryCellarIDsByChainID
cbrit Sep 29, 2023
d42d457
Remove duplicate chainID argument from axelar cork ID hash
cbrit Oct 3, 2023
b7c4338
Updates
EricBolten Dec 8, 2023
0c2f8d4
Merge branch 'main' into bolten/v7-rc1
EricBolten Dec 9, 2023
5192df4
Update subscribers
EricBolten Dec 10, 2023
5a5ebaa
Update cellars in v7 upgrade
EricBolten Dec 10, 2023
fd4fbd0
Update token prices in v7 upgrade
EricBolten Dec 10, 2023
49c5418
Update sizes and Seven Seas domain
EricBolten Dec 10, 2023
17d5500
lint fixes
EricBolten Dec 10, 2023
206158f
Account keeper mocks for Axelar
EricBolten Dec 10, 2023
50656ab
Remove extraneous int parsing tests in auction CLI
EricBolten Dec 10, 2023
9739f67
Delete the v4 upgrade test
EricBolten Dec 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ linters:
enable:
- bodyclose
- deadcode
- depguard
# - depguard
- dogsled
# - errcheck
- goconst
Expand Down
49 changes: 45 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ import (
auctionclient "github.com/peggyjv/sommelier/v7/x/auction/client"
auctionkeeper "github.com/peggyjv/sommelier/v7/x/auction/keeper"
auctiontypes "github.com/peggyjv/sommelier/v7/x/auction/types"
"github.com/peggyjv/sommelier/v7/x/axelarcork"
axelarcorkclient "github.com/peggyjv/sommelier/v7/x/axelarcork/client"
axelarcorkkeeper "github.com/peggyjv/sommelier/v7/x/axelarcork/keeper"
axelarcorktypes "github.com/peggyjv/sommelier/v7/x/axelarcork/types"
"github.com/peggyjv/sommelier/v7/x/cellarfees"
cellarfeeskeeper "github.com/peggyjv/sommelier/v7/x/cellarfees/keeper"
cellarfeestypes "github.com/peggyjv/sommelier/v7/x/cellarfees/types"
Expand Down Expand Up @@ -159,6 +163,14 @@ var (
gravityclient.ProposalHandler,
corkclient.AddProposalHandler,
corkclient.RemoveProposalHandler,
axelarcorkclient.AddProposalHandler,
axelarcorkclient.RemoveProposalHandler,
axelarcorkclient.AddChainConfigurationHandler,
axelarcorkclient.RemoveChainConfigurationHandler,
axelarcorkclient.ScheduledCorkProposalHandler,
axelarcorkclient.CommunityPoolEthereumSpendProposalHandler,
axelarcorkclient.UpgradeAxelarProxyContractHandler,
axelarcorkclient.CancelAxelarProxyContractUpgradeHandler,
corkclient.ScheduledCorkProposalHandler,
auctionclient.SetProposalHandler,
pubsubclient.AddPublisherProposalHandler,
Expand All @@ -179,6 +191,7 @@ var (
authzmodule.AppModuleBasic{},
gravity.AppModuleBasic{},
cork.AppModuleBasic{},
axelarcork.AppModuleBasic{},
cellarfees.AppModuleBasic{},
incentives.AppModuleBasic{},
auction.AppModuleBasic{},
Expand All @@ -198,6 +211,7 @@ var (
gravitytypes.ModuleName: {authtypes.Minter, authtypes.Burner},
cellarfeestypes.ModuleName: nil,
incentivestypes.ModuleName: nil,
axelarcorktypes.ModuleName: nil,
auctiontypes.ModuleName: nil,
pubsubtypes.ModuleName: nil,
}
Expand Down Expand Up @@ -247,15 +261,17 @@ type SommelierApp struct {

// Sommelier keepers
CorkKeeper corkkeeper.Keeper
AxelarCorkKeeper axelarcorkkeeper.Keeper
CellarFeesKeeper cellarfeeskeeper.Keeper
IncentivesKeeper incentiveskeeper.Keeper
AuctionKeeper auctionkeeper.Keeper
PubsubKeeper pubsubkeeper.Keeper

// make capability scoped keepers public for test purposes (IBC only)
ScopedIBCKeeper capabilitykeeper.ScopedKeeper
ScopedTransferKeeper capabilitykeeper.ScopedKeeper
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper
ScopedAxelarCorkKeeper capabilitykeeper.ScopedKeeper
ScopedIBCKeeper capabilitykeeper.ScopedKeeper
ScopedTransferKeeper capabilitykeeper.ScopedKeeper
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper

// the module manager
mm *module.Manager
Expand Down Expand Up @@ -309,6 +325,7 @@ func NewSommelierApp(
feegrant.StoreKey,
authzkeeper.StoreKey,
corktypes.StoreKey,
axelarcorktypes.StoreKey,
incentivestypes.StoreKey,
auctiontypes.StoreKey,
cellarfeestypes.StoreKey,
Expand Down Expand Up @@ -337,6 +354,7 @@ func NewSommelierApp(
scopedIBCKeeper := app.CapabilityKeeper.ScopeToModule(ibchost.ModuleName)
scopedTransferKeeper := app.CapabilityKeeper.ScopeToModule(ibctransfertypes.ModuleName)
scopedICAHostKeeper := app.CapabilityKeeper.ScopeToModule(icahosttypes.SubModuleName)
scopedAxelarCorkKeeper := app.CapabilityKeeper.ScopeToModule(axelarcorktypes.ModuleName)
app.CapabilityKeeper.Seal()

// add keepers
Expand Down Expand Up @@ -394,8 +412,23 @@ func NewSommelierApp(
app.IBCKeeper.ChannelKeeper, app.IBCKeeper.ChannelKeeper, &app.IBCKeeper.PortKeeper,
app.AccountKeeper, app.BankKeeper, scopedTransferKeeper,
)

// create axelar cork keeper
app.AxelarCorkKeeper = axelarcorkkeeper.NewKeeper(
appCodec,
keys[axelarcorktypes.StoreKey],
app.GetSubspace(axelarcorktypes.ModuleName),
app.AccountKeeper,
app.StakingKeeper,
app.TransferKeeper,
app.DistrKeeper,
app.IBCKeeper.ChannelKeeper,
app.GravityKeeper,
)
transferModule := ibctransfer.NewAppModule(app.TransferKeeper)
transferIBCModule := ibctransfer.NewIBCModule(app.TransferKeeper)
var transferStack ibcporttypes.IBCModule = transferIBCModule
transferStack = axelarcork.NewIBCMiddleware(app.AxelarCorkKeeper, transferStack)

// Create the ICAHost Keeper
app.ICAHostKeeper = icahostkeeper.NewKeeper(
Expand Down Expand Up @@ -462,6 +495,7 @@ func NewSommelierApp(
AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)).
AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)).
AddRoute(corktypes.RouterKey, cork.NewProposalHandler(app.CorkKeeper)).
AddRoute(axelarcorktypes.RouterKey, axelarcork.NewProposalHandler(app.AxelarCorkKeeper)).
AddRoute(gravitytypes.RouterKey, gravity.NewCommunityPoolEthereumSpendProposalHandler(app.GravityKeeper)).
AddRoute(auctiontypes.RouterKey, auction.NewSetTokenPricesProposalHandler(app.AuctionKeeper)).
AddRoute(pubsubtypes.RouterKey, pubsub.NewPubsubProposalHandler(app.PubsubKeeper))
Expand All @@ -473,7 +507,7 @@ func NewSommelierApp(
// Create static IBC router, add transfer route, then set and seal it
ibcRouter := ibcporttypes.NewRouter()
ibcRouter.
AddRoute(ibctransfertypes.ModuleName, transferIBCModule).
AddRoute(ibctransfertypes.ModuleName, transferStack).
AddRoute(icahosttypes.SubModuleName, icaHostIBCModule)
app.IBCKeeper.SetRouter(ibcRouter)

Expand Down Expand Up @@ -517,6 +551,7 @@ func NewSommelierApp(
ica.NewAppModule(nil, &app.ICAHostKeeper),
params.NewAppModule(app.ParamsKeeper),
transferModule,
axelarcork.NewAppModule(app.AxelarCorkKeeper, appCodec),
gravity.NewAppModule(app.GravityKeeper, app.BankKeeper),
authzmodule.NewAppModule(appCodec, app.AuthzKeeper, app.AccountKeeper, app.BankKeeper, app.interfaceRegistry),
cork.NewAppModule(app.CorkKeeper, appCodec),
Expand Down Expand Up @@ -554,6 +589,7 @@ func NewSommelierApp(
incentivestypes.ModuleName,
gravitytypes.ModuleName,
corktypes.ModuleName,
axelarcorktypes.ModuleName,
cellarfeestypes.ModuleName,
auctiontypes.ModuleName,
pubsubtypes.ModuleName,
Expand Down Expand Up @@ -583,6 +619,7 @@ func NewSommelierApp(
incentivestypes.ModuleName,
gravitytypes.ModuleName,
corktypes.ModuleName,
axelarcorktypes.ModuleName,
cellarfeestypes.ModuleName,
auctiontypes.ModuleName,
pubsubtypes.ModuleName,
Expand Down Expand Up @@ -620,6 +657,7 @@ func NewSommelierApp(
gravitytypes.ModuleName,
incentivestypes.ModuleName,
corktypes.ModuleName,
axelarcorktypes.ModuleName,
cellarfeestypes.ModuleName,
auctiontypes.ModuleName,
pubsubtypes.ModuleName,
Expand Down Expand Up @@ -651,6 +689,7 @@ func NewSommelierApp(
ibc.NewAppModule(app.IBCKeeper),
authzmodule.NewAppModule(appCodec, app.AuthzKeeper, app.AccountKeeper, app.BankKeeper, app.interfaceRegistry),
cork.NewAppModule(app.CorkKeeper, appCodec),
axelarcork.NewAppModule(app.AxelarCorkKeeper, appCodec),
incentives.NewAppModule(app.IncentivesKeeper, app.DistrKeeper, app.BankKeeper, app.MintKeeper, appCodec),
cellarfees.NewAppModule(app.CellarFeesKeeper, appCodec, app.AccountKeeper, app.BankKeeper, app.MintKeeper, app.CorkKeeper, app.GravityKeeper, app.AuctionKeeper),
auction.NewAppModule(app.AuctionKeeper, app.BankKeeper, app.AccountKeeper, appCodec),
Expand Down Expand Up @@ -691,6 +730,7 @@ func NewSommelierApp(
app.ScopedIBCKeeper = scopedIBCKeeper
app.ScopedTransferKeeper = scopedTransferKeeper
app.ScopedICAHostKeeper = scopedICAHostKeeper
app.ScopedAxelarCorkKeeper = scopedAxelarCorkKeeper

return app
}
Expand Down Expand Up @@ -887,6 +927,7 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
paramsKeeper.Subspace(icahosttypes.SubModuleName)
paramsKeeper.Subspace(gravitytypes.ModuleName)
paramsKeeper.Subspace(corktypes.ModuleName)
paramsKeeper.Subspace(axelarcorktypes.ModuleName)
paramsKeeper.Subspace(cellarfeestypes.ModuleName)
paramsKeeper.Subspace(incentivestypes.ModuleName)
paramsKeeper.Subspace(auctiontypes.ModuleName)
Expand Down
39 changes: 0 additions & 39 deletions app/upgrades/v4/upgrades_test.go

This file was deleted.

161 changes: 158 additions & 3 deletions app/upgrades/v7/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ package v7
const UpgradeName = "v7"

// 7seas domain
const SevenSeasDomain = "7seas.capital"
const SevenSeasDomain = "sevenseas.capital"

// TODO(bolten): update this
// CA certificate literals
// See source data at: https://github.com/PeggyJV/steward-registry
// data captured at commit cdee05a8bf97f264353e10ab65752710bfb85dc9
// data captured at commit ecdb7f386e7e573edb5d8f6ad22a1a67cfa21863
// leaving out made_in_block because I can't find their validator on-chain
// blockhunters hadn't been merged, but verified and added here

// Publisher CA certificate
const SevenSeasPublisherCA = `-----BEGIN CERTIFICATE-----
Expand Down Expand Up @@ -499,3 +500,157 @@ N6juZKqdOw03MA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIwc7wP
+8beG8Zyz8+MC8geQT/pOBFjYMo+zS0/WqxiuXWCHGLDedOApOWAv3xwiuaHfvRX
-----END CERTIFICATE-----
`

const GoldenRatioSubscriberCA = `-----BEGIN CERTIFICATE-----
MIICwjCCAkigAwIBAgIUTmlbzxXN7lCSmCmeYsW5BHpbDmUwCgYIKoZIzj0EAwMw
gZcxCzAJBg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zj0EAwMw
UjEVMBMGA1UECgwMRG9yYSBGYWN0b3J5MRUwEwYDVQQLDAxEb3JhIEZhY3Rvcnkx
IjAgBgNVBAMMGXNvbW1lbGllci5kb3JhZmFjdG9yeS5vcmcwHhcNMjMxMDMxMDkw
MjUzWhcNMjUxMDMwMDkwMjUzWjBSMRUwEwYDVQQKDAxEb3JhIEZhY3RvcnkxFTAT
BgNVBAsMDERvcmEgRmFjdG9yeTEiMCAGA1UEAwwZc29tbWVsaWVyLmRvcmFmYWN0
b3J5Lm9yZzB2MBAGByqGSM49AgEGBSuBBAAiA2IABFe7uMCjv2jFQD+WmRbZZ2IF
20JW935FImH2t1ZLny5KMTyBpcqnUdYKR8ZkJBTPZk6Uv58mKr1nXVY6f9PTmaZx
OulptPgcZqjN3vbYWqeQ7RPqHA6uRxv+e4MLYdD7mqNTMFEwHQYDVR0OBBYEFMWX
BT8YThoH4Ay50Psdeqx5no4uMB8GA1UdIwQYMBaAFMWXBT8YThoH4Ay50Psdeqx5
no4uMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaQAwZgIxAK/znJs5LblZ
Pz7OaQM+T3ODVMmKo/5twhd4XUZsENQgIoev6vogu1LBY/hHnQoQ7gIxAJ1qqxMt
RscyQImrpQQiNAI8oLxTQOeKYmjZDzKAYt6aRtuDtuq07mJISbLo64J8Ug==
-----END CERTIFICATE-----
`

const FrenchChocolatineSubscriberCA = `-----BEGIN CERTIFICATE-----
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably fine for this PR but I know at least this validator has dropped from the active set. Would it be worth culling inactive validators from this list? I can go through the list if you need me to.

Copy link
Contributor Author

@EricBolten EricBolten Dec 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double-checked all the validators in the upgrade against steward-registry and left in the inactive ones, just to have this mirror the current state we're working with. If you want to spend the time to verify which ones we should remove, go for it, although there isn't really a method for scrubbing dead subscribers post-upgrade unless they delete their subscriber themselves, I don't think. So there will likely be cruft no matter what.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, probably needed then

MIICYjCCAeigAwIBAgIUXFbtefdxA1Iiv/MyYZODseX/AP4wCgYIKoZIzj0EAwMw
aDELMAkGA1UEBhMCRlIxEzARBgNVBAgMClNvbWUtU3RhdGUxGjAYBgNVBAoMEWZy
ZW5jaGNob2NvbGF0aW5lMSgwJgYDVQQDDB9zb21tZWxpZXIuZnJlbmNoY2hvY29s
YXRpbmUuY29tMB4XDTIzMDkxMDE0NDEyOVoXDTI1MDkwOTE0NDEyOVowaDELMAkG
A1UEBhMCRlIxEzARBgNVBAgMClNvbWUtU3RhdGUxGjAYBgNVBAoMEWZyZW5jaGNo
b2NvbGF0aW5lMSgwJgYDVQQDDB9zb21tZWxpZXIuZnJlbmNoY2hvY29sYXRpbmUu
Y29tMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE5z4t7/q0dkwuvX9pV+bgjQbKADed
iaVpHPTJkfdvYKdokxXh+cIQXqdlObVDf55Cwaj1PnMo3gbSRgpYzbdjdQ72HeYv
+k036fJkxuEk8fELAHhISBr/tPSb8Uc4YHFPo1MwUTAdBgNVHQ4EFgQUxWDtaeP9
5ja/24RfDVrWeW542bkwHwYDVR0jBBgwFoAUxWDtaeP95ja/24RfDVrWeW542bkw
DwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEAxW8CtSO2ksGMbagp
CfxZqZJFoGyksz1NC9AoTE3hjsoK0Mzneyfg6VOnC5+Vc0z8AjBwHDWLkggPUs5f
GxXeMxoqZLNzIZ1BnMsMTrdId+jQnvzwI1zRBG1NiKvS4RnpIEI=
-----END CERTIFICATE-----
`
const FreshStakingSubscriberCA = `-----BEGIN CERTIFICATE-----
MIICBDCCAYqgAwIBAgIUKwEbgwfVTJ2Dwro3dVQR3oblUHIwCgYIKoZIzj0EAwMw
OTEVMBMGA1UECwwMRnJlc2hTVEFL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