Skip to content

Commit 152d9c9

Browse files
committed
✨ Add link to faucet & fix prover
1 parent 010ab4b commit 152d9c9

File tree

4 files changed

+25
-18
lines changed

4 files changed

+25
-18
lines changed

Cargo.lock

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ VITE_SERVER_BASE_URL=http://localhost:4000
22
VITE_NODE_BASE_URL=http://localhost:4321
33
VITE_INDEXER_BASE_URL=http://localhost:4321
44
VITE_TX_EXPLORER_URL=http://localhost:8000
5+
VITE_FAUCET_URL=http://localhost:5173

front/src/components/wallet/Balance.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,13 @@ export const Balance = ({ wallet, balance }: BalanceProps) => {
2121
<button onClick={() => navigator.clipboard.writeText(wallet.address)}>
2222
Copy Address
2323
</button>
24+
<div>
25+
<a href={`${import.meta.env.VITE_FAUCET_URL}/?wallet=${wallet.address}`} target="_blank" rel="noopener noreferrer">
26+
Go to Faucet
27+
</a>
28+
</div>
2429
</div>
2530
</div>
2631
</div>
2732
);
28-
};
33+
};

server/src/history.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ impl ContractHandler for HyllarHistory {
110110
_index: sdk::BlobIndex,
111111
_tx_context: sdk::TxContext,
112112
) -> anyhow::Result<()> {
113-
info!("Transaction successful: {:?}", tx);
114113
self.history.values_mut().for_each(|history| {
115114
if let Some(t) = history.iter_mut().find(|t| t.id == tx.hashed().0) {
116115
t.status = "Success".to_string();

0 commit comments

Comments
 (0)