Skip to content

Commit

Permalink
docs: add the banner of gnfd (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
unclezoro authored Mar 21, 2023
1 parent c032126 commit 01483b3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
26 changes: 13 additions & 13 deletions app/ante/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ func (suite *AnteTestSuite) CreateTestEIP712MsgCreateValidator(from sdk.AccAddre
stakingtypes.NewDescription("moniker", "identity", "website", "security_contract", "details"),
stakingtypes.NewCommissionRates(sdk.OneDec(), sdk.OneDec(), sdk.OneDec()),
sdk.OneInt(),
from,
from,
from,
from,
blsPubkey,
from,
from,
from,
from,
blsPubkey,
)
suite.Require().NoError(err)
return suite.CreateTestEIP712CosmosTxBuilder(from, priv, chainId, gas, gasAmount, msgCreate)
Expand Down Expand Up @@ -143,7 +143,7 @@ func (suite *AnteTestSuite) CreateTestEIP712GrantAllowance(from sdk.AccAddress,

func (suite *AnteTestSuite) CreateTestEIP712MsgEditValidator(from sdk.AccAddress, priv cryptotypes.PrivKey, chainId string, gas uint64, gasAmount sdk.Coins) client.TxBuilder {
newRelayerAddr := core.GenRandomAddr()
newChallengerAddr := core.GenRandomAddr()
newChallengerAddr := core.GenRandomAddr()
blsSecretKey, _ := bls.RandKey()
blsPk := hex.EncodeToString(blsSecretKey.PublicKey().Marshal())
msgEdit := stakingtypes.NewMsgEditValidator(
Expand All @@ -152,8 +152,8 @@ func (suite *AnteTestSuite) CreateTestEIP712MsgEditValidator(from sdk.AccAddress
nil,
nil,
newRelayerAddr,
newChallengerAddr,
blsPk,
newChallengerAddr,
blsPk,
)
return suite.CreateTestEIP712CosmosTxBuilder(from, priv, chainId, gas, gasAmount, msgEdit)
}
Expand All @@ -180,11 +180,11 @@ func (suite *AnteTestSuite) CreateTestEIP712TxBuilderMsgSubmitProposalV1(from sd
stakingtypes.NewDescription("moniker", "indentity", "website", "security_contract", "details"),
stakingtypes.NewCommissionRates(sdk.OneDec(), sdk.OneDec(), sdk.OneDec()),
sdk.OneInt(),
from,
from,
from,
from,
"test",
from,
from,
from,
from,
"test",
)
suite.Require().NoError(err)
msgSubmitProposal, err := govtypesv1.NewMsgSubmitProposal(
Expand Down
Binary file added docs/asset/gnfd-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Greenfield

![banner](./docs/asset/gnfd-banner.png)

Official Golang implementation of the Greenfield Blockchain. It uses [tendermint](https://github.com/tendermint/tendermint/)
for consensus and build on [cosmos-sdk](https://github.com/cosmos/cosmos-sdk).

Expand Down

0 comments on commit 01483b3

Please sign in to comment.