Akhil Kumar P

@akhilkumar7947

Joined on Feb 27, 2020

  • Account address: akash1a2ugx4l4j3cay602wand9e6wu9zf7mkqu5mk7l Dseq: 721593 Oseq: 1 Gseq: 1 Provider: akash10cl5rm0cqnpj45knzakpa4cnvn5amzwp4lhcal Deployment list $ akash query deployment list --owner $ACCOUNT_ADDRESS --node $AKASH_NODE - deployment: created_at: "721596"
     Like  Bookmark
  • Global changes Previously, context.CLIContext imported from github.com/cosmos/cosmos-sdk/client/context is changed to client.Context, which we import from github.com/cosmos/cosmos-sdk/client RegisterCodec is renamed to RegisterLegacyAminoCodec codec.go codec.New() is changed to codec.NewLegacyAmino(). We declare a new variable ModuleCdc which can be either NewAminoCodec or NewProtoCodec based on module requirements. RegisterCodec is renamed to RegisterLegacyAminoCodec with same logic.
     Like  Bookmark
  • Akash <> Osmosis root@osmosis-relayer:~# rly cfg show --home ~/.rly-akash global: api-listen-addr: :5183 timeout: 10s light-cache-size: 20 chains: - key: akash chain-id: akashnet-2 rpc-addr: http://public-rpc2.akash.vitwit.com:26657
     Like  Bookmark
  • Account address: akash1a2ugx4l4j3cay602wand9e6wu9zf7mkqu5mk7l Dseq: 417133 Oseq: 1 Gseq: 1 Provider: akash1f6gmtjpx4r8qda9nxjwq26fp5mcjyqmaq5m6j7 Cert list $ akash q cert list --owner akash1a2ugx4l4j3cay602wand9e6wu9zf7mkqu5mk7l --node $AKASH_NODE certificates: - certificate:
     Like  Bookmark
  • Please check code once in branch v0.39-sentinel : https://github.com/vitwit/akash-on-akash/tree/akhil/v0.39-sentinel Build docker image of network you want to setup sentry node. If you already have any docker image, then it is fine. Replace app.toml and config.toml in this folder with your network's app.toml and config.toml files. And edit this Dockerfile with your network image and other dependencies if needed. And edit this run.sh with your network commands. If your network SDK version is greater than v0.40, then you can remove this rest-server command and enable api server config directly in app.toml file you copied before.
     Like  Bookmark
  • Faucet Server Setup To test IBC commands, you need to start a server first. Once after starting chain, enable faucet relayer server in same server. While setting up the server, ensure that ports :8000 (faucet) and :26657 (gaiad) are open and accessable. Run below commands in same system where your are running server: # Write chain config into a json file $ echo "{\"key\":\"$RLYKEY\",\"chain-id\":\"$CHAINID\",\"rpc-addr\":\"$NODE_RPC\",\"account-prefix\":\"$ACCOUNT_PREFIX\",\"gas-adjustment\":1.5,\"gas-prices\":\"0.025$DENOM\",\"trusting-period\":\"3306h\"}" > $CHAINID.json # Above, # $RLYKEY represents key name of chain # $CHAINID represents chain-id # $NODE_RPC represents rpc-address of node
     Like  Bookmark
  • Changelog {date}: {changelog} Status Proposed Context Currently in SDK, events are not completely understandable when emitted and being tough for event listeners to handle them. Events need to be modified in a way which can be understandable and useful for event listeners to handle and work on them further if needed.
     Like  Bookmark
  • A seperate Event struct is created which consists of type, module, action and attributes of event. And also created BaseModuleEvent struct which is used mainly for storing context of event. There is one more struct named ModuleEvent which is used to convert event to SDKEvent. Please check this file for more info. We create custom events using above structs and emit them when needed. For example: type EventDeploymentCreated struct { Context sdkutil.BaseModuleEvent `json:"context"` ID DeploymentID `json:"id"` Version []byte `json:"version"` }
     Like  Bookmark
  • Setup Chain Index Install Akash Create Keys Update genesis params Add genesis accounts Collect Gentx Start the chain
     Like  Bookmark