Skip to content

Commit c2e9f79

Browse files
committed
feat: complete event module, clean configs and improve tooling
register event module interfaces and amino encoding correctly remove duplicate and conflicting configuration files make query scripts compatible with remote nodes clean up recurring lint warnings
1 parent 75ecbd4 commit c2e9f79

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

app/app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ var (
254254
inflation.AppModuleBasic{},
255255
erc20.AppModuleBasic{},
256256
blockinflation.AppModuleBasic{},
257+
event.AppModuleBasic{},
257258
ratelimit.AppModuleBasic{},
258259
)
259260

buf.gen.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

buf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ lint:
1818
- RPC_REQUEST_STANDARD_NAME
1919
- RPC_REQUEST_RESPONSE_UNIQUE
2020
- RPC_RESPONSE_STANDARD_NAME
21-
- RPC_REQUEST_RESPONSE_UNIQUE
2221
- COMMENT_MESSAGE
2322
breaking:
2423
use:

query_chain_info.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
echo "=== Hetu Chain Information inquiry ==="
77
echo ""
88

9+
# Set the node URL
10+
NODE_URL=${NODE_URL:-"http://localhost:26657"}
11+
NODE_STATUS_URL="${NODE_URL%/}/status"
12+
NODE_FLAG="--node $NODE_URL"
13+
914
# Check if the node is running
10-
if ! curl -s http://localhost:26657/status > /dev/null; then
15+
if ! curl -s "$NODE_STATUS_URL" > /dev/null; then
1116
echo "❌ The node is not running, please start the node first:"
1217
echo " ./local_node.sh"
1318
echo ""
@@ -16,10 +21,6 @@ if ! curl -s http://localhost:26657/status > /dev/null; then
1621
exit 1
1722
fi
1823

19-
# Set the node URL
20-
NODE_URL=${NODE_URL:-"http://localhost:26657"}
21-
NODE_FLAG="--node $NODE_URL"
22-
2324
echo "🔗 Connect to the node: $NODE_URL"
2425
echo ""
2526

0 commit comments

Comments
 (0)