tendermint / spn

A blockchain to launch blockchains.
Other
112 stars 43 forks source link

refactor(`launch`): set absolute time for launch time #945

Closed lumtis closed 2 years ago

lumtis commented 2 years ago

Test

spnd tx profile create-coordinator --from alice -y
spnd tx launch create-chain toast-0 test.com 0xaaa --from alice -y
spnd tx launch trigger-launch 1 "2022-09-02T00:00:00Z" --from alice -y
spnd q launch list-chain
chain:
- campaignID: "0"
  consumerRevisionHeight: "267"
  coordinatorID: "1"
  createdAt: "1662032142"
  genesisChainID: toast-0
  hasCampaign: false
  initialGenesis:
    defaultInitialGenesis: {}
  isMainnet: false
  launchID: "1"
  launchTime: "2022-09-02T00:00:00Z"
  launchTriggered: true
  metadata: null
  monitoringConnected: false
  sourceHash: "0xaaa"
  sourceURL: test.com
codecov[bot] commented 2 years ago

Codecov Report

Merging #945 (5fe3274) into develop (ae4ee27) will decrease coverage by 0.00%. The diff coverage is 14.38%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #945      +/-   ##
===========================================
- Coverage    10.75%   10.74%   -0.01%     
===========================================
  Files          280      280              
  Lines        66957    67161     +204     
===========================================
+ Hits          7199     7215      +16     
- Misses       59595    59783     +188     
  Partials       163      163              
Impacted Files Coverage Δ
pkg/types/monitoring.pb.go 0.79% <ø> (ø)
x/campaign/types/events.pb.go 0.55% <ø> (ø)
x/campaign/types/mainnet_account.pb.go 0.75% <ø> (ø)
x/campaign/types/params.pb.go 0.88% <ø> (ø)
x/campaign/types/query.pb.go 0.66% <ø> (ø)
x/campaign/types/query.pb.gw.go 0.00% <ø> (ø)
x/launch/simulation/simulation.go 0.00% <0.00%> (ø)
x/launch/types/chain.pb.go 1.51% <0.00%> (-0.09%) :arrow_down:
x/launch/types/events.pb.go 0.49% <ø> (ø)
x/launch/types/genesis_account.pb.go 0.98% <ø> (ø)
... and 35 more