-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "feat: add addresses to gas station in weave config" #134
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe changes transition gas station account management from a key-based approach to a mnemonic-based approach. Various components now retrieve the gas station mnemonic from configuration and use the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Config
participant Crypto
participant BalanceService
User->>Config: Request gas station mnemonic
Config-->>User: Return mnemonic
User->>Crypto: Convert mnemonic to Bech32 addresses (MnemonicToBech32Address)
Crypto-->>User: Return initiaGasStationAddress & celestiaGasStationAddress
User->>BalanceService: Query balance using generated addresses
BalanceService-->>User: Return gas station balance
sequenceDiagram
participant Trigger
participant Config
participant Crypto
participant TxService
Trigger->>Config: Request gas station mnemonic
Config-->>Trigger: Return mnemonic
Trigger->>Crypto: Recover key from mnemonic (RecoverKeyFromMnemonic)
Crypto-->>Trigger: Return gas station key
Trigger->>TxService: Sign and broadcast transaction using gas station key
TxService-->>Trigger: Return transaction result
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Reverts #131
Summary by CodeRabbit