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

feat(launch): config file for genesis #958

Merged
merged 9 commits into from
Sep 21, 2022
Merged

Conversation

aljo242
Copy link
Contributor

@aljo242 aljo242 commented Sep 20, 2022

Closes #395

What does this PR do?

Includes a refactor of MsgCreateChain and other associated functions to take InitialGenesis as argument instead of genesisURL and genesisHash.

@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #958 (c8fd979) into develop (b3f1d20) will decrease coverage by 0.01%.
The diff coverage is 8.07%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #958      +/-   ##
===========================================
- Coverage    10.67%   10.65%   -0.02%     
===========================================
  Files          272      272              
  Lines        65062    65235     +173     
===========================================
+ Hits          6946     6952       +6     
- Misses       57953    58119     +166     
- Partials       163      164       +1     
Impacted Files Coverage Δ
x/launch/types/tx.pb.go 0.53% <0.00%> (+<0.01%) ⬆️
x/launch/types/chain.pb.go 1.37% <0.48%> (-0.14%) ⬇️
x/campaign/keeper/msg_initialize_mainnet.go 94.54% <100.00%> (+0.20%) ⬆️
x/launch/keeper/chain.go 97.36% <100.00%> (-0.12%) ⬇️
x/launch/keeper/msg_create_chain.go 91.66% <100.00%> (-0.23%) ⬇️
x/launch/types/initial_genesis.go 95.34% <100.00%> (+1.80%) ⬆️
x/launch/types/msg_create_chain.go 72.09% <100.00%> (-0.64%) ⬇️
x/campaign/simulation/store.go 83.10% <0.00%> (-1.36%) ⬇️

proto/launch/chain.proto Outdated Show resolved Hide resolved
x/launch/client/cli/tx_create_chain.go Outdated Show resolved Hide resolved
x/launch/client/cli/tx_create_chain.go Outdated Show resolved Hide resolved
x/launch/client/cli/tx_create_chain.go Show resolved Hide resolved
Alex Johnson and others added 3 commits September 21, 2022 09:30
Co-authored-by: Lucas Btd <lucas.bertrand.22@gmail.com>
Co-authored-by: Lucas Btd <lucas.bertrand.22@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Config file for initial genesis
2 participants