Updates for stage2 setup (#60)

Part of [Create a public laconicd testnet](https://www.notion.so/Create-a-public-laconicd-testnet-896a11bdd8094eff8f1b49c0be0ca3b8)

- Add `bc` installation in Dockerfile (required for stage1 to stage2 testnet migration)
- Populate attributes map index when importing records from genesis to allow fetching records with filters from a chain with imported state

Reviewed-on: cerc-io/laconicd#60
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
2024-10-22 09:54:33 +00:00
committed by nabarun
parent 52e8d322fa
commit 6f75370b17
4 changed files with 11 additions and 6 deletions
+3 -3
View File
@@ -53,9 +53,9 @@ func GetCmdCommitBid() *cobra.Command {
if chainId == "" {
// Take from config if not provided
chainId = clientCtx.ChainID
if chainId == "" {
return fmt.Errorf("--chain-id required")
}
}
if chainId == "" {
return fmt.Errorf("--chain-id required")
}
bidAmount, err := sdk.ParseCoinNormalized(args[1])