Closed elise-ng closed 2 years ago
probable due to missing module param:
./liked-3.0.0-alpha4 --node tcp://52.187.27.20:26657 --chain-id likecoin-skynet-1 query likenft params
Error: rpc error: code = Unknown desc = panic message redacted to hide potentially sensitive system info: panic
to add missing param:
{
"title": "Set LikeNFT module params",
"description": "Set LikeNFT MintPriceDenom param to nanolike",
"changes": [
{
"subspace": "likenft",
"key": "MintPriceDenom",
"value": "nanolike"
}
],
"deposit": "10000000nanolike"
}
./liked tx gov submit-proposal param-change ./param-change.json --from azure --keyring-backend file --chain-id likecoin-skynet-1
./liked tx gov vote 1 yes --from azure --keyring-backend file --chain-id likecoin-skynet-1
fixed after param change proposal, however, found that the end blocker was not executing as expecting, seems we missed registering it in module.go; debugging now
end block issue fixed with alpha5;
results can be found via: http://52.187.27.20:26657/block_results?height=31823
in end_block_events
Documenting param change proposal for alpha7:
{
"title": "Set LikeNFT module params for alpha7",
"description": "Set LikeNFT module params for alpha7",
"changes": [
{
"subspace": "likenft",
"key": "PriceDenom",
"value": "nanolike"
},
{
"subspace": "likenft",
"key": "FeePerByte",
"value": {
"denom": "nanolike",
"amount": "10000"
}
},
{
"subspace": "likenft",
"key": "MaxOfferDurationDays",
"value": "180"
},
{
"subspace": "likenft",
"key": "MaxListingDurationDays",
"value": "180"
},
{
"subspace": "likenft",
"key": "MaxRoyaltyBasisPoints",
"value": "1000"
}
],
"deposit": "10000000nanolike"
}
Follow up Zube #262