mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-10 08:54:11 +00:00
Add live e2e tests for the nostr relay and NIP-05 server
tests/nostr_e2e.rs (run with --ignored): - nip17_slatepack_roundtrip: Alice gift-wraps a slatepack payment DM with a subject to Bob over wss://nrelay.us-ea.st; Bob unwraps, the seal-author == sender invariant holds, the slatepack and subject extract intact. - nip05_registration_roundtrip: registers a fresh name on goblin.st with a real NIP-98 signature, resolves it back to the right pubkey, releases it. Both pass against the live deployed infrastructure. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,6 @@ use egui::{Align, Layout, Margin, RichText, ScrollArea, Sense, Vec2};
|
||||
use crate::gui::icons::{CLOCK, COPY, SCAN, USER_CIRCLE, WALLET};
|
||||
use crate::gui::platform::PlatformCallbacks;
|
||||
use crate::gui::theme::{self, fonts};
|
||||
use crate::gui::views::wallets::wallet::WalletTransactionsContent;
|
||||
use crate::gui::views::{Content, View};
|
||||
use crate::wallet::Wallet;
|
||||
use crate::wallet::types::WalletData;
|
||||
@@ -46,8 +45,6 @@ pub enum Tab {
|
||||
pub struct GoblinWalletView {
|
||||
tab: Tab,
|
||||
send: Option<SendFlow>,
|
||||
/// Legacy transactions content reused for detail rendering when needed.
|
||||
txs_content: WalletTransactionsContent,
|
||||
}
|
||||
|
||||
impl Default for GoblinWalletView {
|
||||
@@ -55,7 +52,6 @@ impl Default for GoblinWalletView {
|
||||
Self {
|
||||
tab: Tab::Home,
|
||||
send: None,
|
||||
txs_content: WalletTransactionsContent::new(None),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -30,10 +30,10 @@ pub use store::NostrStore;
|
||||
mod identity;
|
||||
pub use identity::{IdentitySource, NostrIdentity};
|
||||
|
||||
mod protocol;
|
||||
pub mod protocol;
|
||||
pub use protocol::*;
|
||||
|
||||
mod ingest;
|
||||
pub mod ingest;
|
||||
pub use ingest::*;
|
||||
|
||||
mod client;
|
||||
|
||||
Reference in New Issue
Block a user