diff --git a/app/client/cli/debug.go b/app/client/cli/debug.go index 99d5b83de..4cc1ea632 100644 --- a/app/client/cli/debug.go +++ b/app/client/cli/debug.go @@ -2,6 +2,7 @@ package cli import ( "os" + "time" "github.com/manifoldco/promptui" "github.com/spf13/cobra" @@ -50,7 +51,10 @@ func newDebugUISubCommands() []*cobra.Command { Use: promptItem, PersistentPreRunE: helpers.P2PDependenciesPreRunE, Run: func(cmd *cobra.Command, _ []string) { + // TECHDEBT(#874): this is a magic number, but an alternative would be to have the p2p module wait until connections are open and to flush the message correctly + time.Sleep(500 * time.Millisecond) // give p2p module time to start handleSelect(cmd, cmd.Use) + time.Sleep(500 * time.Millisecond) // give p2p module time to broadcast }, ValidArgs: items, } @@ -61,7 +65,7 @@ func newDebugUISubCommands() []*cobra.Command { // newDebugUICommand returns the cobra CLI for the Debug UI interface. func newDebugUICommand() *cobra.Command { return &cobra.Command{ - Aliases: []string{"dui"}, + Aliases: []string{"dui", "debug"}, Use: "DebugUI", Short: "Debug selection ui for rapid development", Args: cobra.MaximumNArgs(0), @@ -154,7 +158,7 @@ func handleSelect(cmd *cobra.Command, selection string) { } broadcastDebugMessage(cmd, m) default: - logger.Global.Error().Msg("Selection not yet implemented...") + logger.Global.Error().Str("selection", selection).Msg("Selection not yet implemented...") } } diff --git a/docs/devlog/devlog12.md b/docs/devlog/devlog12.md new file mode 100644 index 000000000..66865fab4 --- /dev/null +++ b/docs/devlog/devlog12.md @@ -0,0 +1,88 @@ +# Pocket V1 DevLog #12 + +**Date Published**: July 31st, 2023 + +We have kept the goals and details in this document short, but feel free to reach out to @Olshansk in the [core-dev-chat](https://discord.com/channels/553741558869131266/986789914379186226) for additional details, links & resources. + +## Table of Contents + +- [Iteration 21 Goals \& Results](#iteration-21-goals--results) + - [V0](#v0) + - [V1](#v1) + - [Utility - E2E Trustless Relay Demo](#utility---e2e-trustless-relay-demo) + - [Infrastructure - DevNet Dashboard](#infrastructure---devnet-dashboard) + - [Product - TestNet MVP](#product---testnet-mvp) +- [Screenshots](#screenshots) + - [Iteration 21 - Completed](#iteration-21---completed) + - [V1 Results](#v1-results) + - [Iteration 21 - Planned](#iteration-21---planned) +- [Contribute to V1 🧑‍💻](#contribute-to-v1-) + - [Links \& References](#links--references) + +## Iteration 21 Goals & Results + +**Iterate Dates**: July 15th - July 28th, 2023 + +```bash +# V1 Repo +git diff b55b6f96ca99a1e28ac133689949afa5f7e74c42 --stat +# 98 files changed, 3366 insertions(+), 655 deletions(-) +``` + +### V0 + +We have prepared the [release plan](https://www.notion.so/pocketnetwork/RC-0-10-4-Release-Plan-848c0c329e554a78a2aaf05bcaafb763?pvs=4) for `RC 0.10.4` with the helpful of everyone in the community! + +### V1 + +Our goal, for the second iteration in a row, was **to finalize demos** as much as possible from the [previous iteration](https://github.com/pokt-network/pocket/blob/main/docs/devlog/devlog11.md). + +🟡🟢 Like last week, we made progress on two more demos and give ourselves an overall score of `7/10` as we are tying together lots of lose ends. + +#### Utility - E2E Trustless Relay Demo + +@adshmh presented the first demo of an E2E Trustless Relay Demo + +[Audio](https://drive.google.com/file/d/1bkrIPsDAuZYevJRgyiudml5YWUSUtTto/view?usp=drive_link) + +[![asciicast](https://asciinema.org/a/599295.svg)](https://asciinema.org/a/599295) + +#### Infrastructure - DevNet Dashboard + +[Audio](https://drive.google.com/file/d/1rN2tXJ5qYXxmpnrU1Eo1dj_DRJjYJlDY/view?usp=drive_link] + +Though it may be offline at the time of writing, you can access the DevNet Dashboard [here](https://devnet-first-dashboard.dev-us-east4-1.poktnodes.network:8443/) + +![DevNet Dashboard](https://github.com/pokt-network/pocket/assets/1892194/98a57a86-26a6-4d08-a719-9f40dadcd658) + +#### Product - TestNet MVP + +@mokn himself presented his vision + +[![TestNet MVP](https://github.com/pokt-network/pocket/assets/1892194/97eee0a7-2755-4b56-979b-783ac9c5b0a9)](https://drive.google.com/file/d/1ojkUv6Ds_GTGAdxtMdYujFpOnDgoXYII/view) + +## Screenshots + +Please note that everything that was not `Done` in `iteration21` is moving over to `iteration22`. + +### Iteration 21 - Completed + +#### V1 Results + +![V1 Completed - 1](https://github.com/pokt-network/pocket/assets/1892194/776d5b75-0de6-43d3-800f-c7dddb04dbf3) +![V1 Completed - 2](https://github.com/pokt-network/pocket/assets/1892194/9940893f-b1b5-432a-ae9c-d949e540e739) + +### Iteration 21 - Planned + +![V1 Planned](https://github.com/pokt-network/pocket/assets/1892194/a1ac5624-b4a4-4d94-8812-615d8fe8d0e2) + +## Contribute to V1 🧑‍💻 + +### Links & References + +- [V1 Specifications](https://github.com/pokt-network/pocket-network-protocol) +- [V1 Repo](https://github.com/pokt-network/pocket) +- [V1 Wiki](https://github.com/pokt-network/pocket/wiki) +- [V1 Project Dashboard](https://github.com/pokt-network/pocket/projects?query=is%3Aopen) + +