-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Update Service Binaries Config (#165)
* service bump * sequencer config updates * update cometbft genesis * update urls and chainId * add specific local/remote service versions. * refactor binaries info for dynamic download link creation * update fee asset * local versions match with default versions * bump dusk dawn nums, update sequencer config to match * single default target network * add build url funcs * try increase sleep to prevent ci tests failing * Revert "try increase sleep to prevent ci tests failing" This reverts commit d7fbaab. * specify local in ci test * denom and channel updates * add and update service versions * move binary url related stuff to own binaries.go file --------- Co-authored-by: Jesse Snyder <jessetsnyder@gmail.com>
- Loading branch information
1 parent
ebf48a2
commit 76bd2c3
Showing
25 changed files
with
175 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package cmd | ||
|
||
const ( | ||
DefaultDuskNum = "10" | ||
DefaultDawnNum = "0" | ||
DefaultDuskNum = "11" | ||
DefaultDawnNum = "1" | ||
DefaultTargetNetwork = "dawn" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package config | ||
|
||
// Url holds the parts of a URL that point to a release. | ||
type Url struct { | ||
Prefix string | ||
Middle string | ||
Suffix string | ||
} | ||
|
||
// AvailableServiceReleaseUrls holds the parts of the release URLs for known services. | ||
type AvailableServiceReleaseUrls struct { | ||
CometBFT Url | ||
AstriaSequencer Url | ||
AstriaComposer Url | ||
AstriaConductor Url | ||
} | ||
|
||
// CometBftReleaseUrl returns the release URLs for the known CometBFT service. | ||
func (asru *AvailableServiceReleaseUrls) CometBftReleaseUrl(version string) string { | ||
return asru.CometBFT.Prefix + version + asru.CometBFT.Middle + version + asru.CometBFT.Suffix | ||
} | ||
|
||
// AstriaSequencerReleaseUrl returns the release URLs for the known Astria Sequencer service. | ||
func (asru *AvailableServiceReleaseUrls) AstriaSequencerReleaseUrl(version string) string { | ||
return asru.AstriaSequencer.Prefix + version + asru.AstriaSequencer.Suffix | ||
} | ||
|
||
// AstriaComposerReleaseUrl returns the release URLs for the known Astria Composer service. | ||
func (asru *AvailableServiceReleaseUrls) AstriaComposerReleaseUrl(version string) string { | ||
return asru.AstriaComposer.Prefix + version + asru.AstriaComposer.Suffix | ||
} | ||
|
||
// AstriaConductorReleaseUrl returns the release URLs for the known Astria Conductor service. | ||
func (asru *AvailableServiceReleaseUrls) AstriaConductorReleaseUrl(version string) string { | ||
return asru.AstriaConductor.Prefix + version + asru.AstriaConductor.Suffix | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.