Skip to content

Commit a830b8e

Browse files
authored
Ln/sepolia and no autocapitalize (#306)
* use sepolia instead of goerli, turn off autocapitalization in textarea for login seed, add atomic txn metadata wrapper to transaction types supported * more autocapitalize none
1 parent d4e88a7 commit a830b8e

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

src/app/log-in-seed/log-in-seed.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ <h4 class="text--neutral-white">
4343
class="input--textarea input--seed"
4444
rows="2"
4545
placeholder="Enter your DeSo seed only!"
46+
autocapitalize="none"
4647
></textarea>
4748
<div class="margin-top--small text--right">
4849
<div
@@ -74,6 +75,7 @@ <h4 class="text--neutral-white">
7475
class="input--textarea"
7576
rows="2"
7677
placeholder="Enter your passphrase"
78+
autocapitalize="none"
7779
></textarea>
7880
</div>
7981

@@ -88,6 +90,7 @@ <h4 class="text--neutral-white">
8890
class="input--textarea"
8991
rows="2"
9092
placeholder="Enter your seed hex"
93+
autocapitalize="none"
9194
></textarea>
9295
</div>
9396
<button

src/app/metamask.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export class WalletProvider {
180180
const provider = await EthereumProvider.init({
181181
projectId: 'bea679efaf1bb0481c4974e65c510200',
182182
chains: [1 /* Mainnet */],
183-
optionalChains: [5 /* Goerli */],
183+
optionalChains: [11155111 /* Sepolia */],
184184
optionalMethods: ['eth_requestAccounts'],
185185
metadata: {
186186
description:

src/app/sign-up/sign-up.component.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ <h3 class="text--neutral-white">Safely store your DeSo seed phrase</h3>
225225
(ngModelChange)="checkMnemonic()"
226226
class="input--textarea input--seed"
227227
rows="2"
228+
autocapitalize="none"
228229
></textarea>
229230
</div>
230231

@@ -239,6 +240,7 @@ <h3 class="text--neutral-white">Safely store your DeSo seed phrase</h3>
239240
(ngModelChange)="normalizeExtraText()"
240241
class="input--textarea"
241242
rows="2"
243+
autocapitalize="none"
242244
></textarea>
243245
</div>
244246

@@ -261,6 +263,7 @@ <h3 class="text--neutral-white">Safely store your DeSo seed phrase</h3>
261263
(ngModelChange)="checkEntropyHex()"
262264
class="input--textarea"
263265
rows="2"
266+
autocapitalize="none"
264267
></textarea>
265268
</div>
266269

@@ -326,6 +329,7 @@ <h3 class="text--neutral-white">Verify your DeSo seed phrase</h3>
326329
class="input--textarea input--seed"
327330
rows="4"
328331
placeholder="Enter your DeSo seed phrase"
332+
autocapitalize="none"
329333
></textarea>
330334
</div>
331335
<div
@@ -346,6 +350,7 @@ <h3 class="text--neutral-white">Verify your DeSo seed phrase</h3>
346350
class="input--textarea input-seed"
347351
rows="4"
348352
placeholder="Enter your passphrase"
353+
autocapitalize="none"
349354
></textarea>
350355
</div>
351356
</div>

src/lib/deso/transaction.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,3 +796,8 @@ export class TransactionV0 extends BinaryRecord {
796796
@Transcode(VarBuffer)
797797
signature: Buffer | null = null;
798798
}
799+
800+
export class TransactionMetdataAtomicWrapper extends TransactionMetadata {
801+
@Transcode(ArrayOf(Transaction))
802+
metadata: Transaction[] = [];
803+
}

0 commit comments

Comments
 (0)