Skip to content

Commit

Permalink
chore: disable fee
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Dec 4, 2024
1 parent 382d97a commit 690cc4a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 39 deletions.
9 changes: 5 additions & 4 deletions ui/modals/transaction/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ func (m *ViewModel) UpdateState() {
}

var fee *uint64
if m.Account().IncentiveEligible && !m.Active {
feeInst := uint64(2000000)
fee = &feeInst
}
// TODO: enable fee with either feature flag or config flag
//if m.Account().IncentiveEligible && !m.Active {
//feeInst := uint64(2000000)
//fee = &feeInst
//}

m.ATxn.AUrlTxnKeyCommon.Sender = m.Participation.Address
m.ATxn.AUrlTxnKeyCommon.Type = string(types.KeyRegistrationTx)
Expand Down
68 changes: 33 additions & 35 deletions ui/modals/transaction/testdata/Test_Snapshot/Online.golden
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
Sign this transaction to register your account keys:

Scan the QR code with Pera or Defly
(make sure you use the testnet-v1.0 network)

█████████████████████████████████████████████████████
██ ▄▄▄▄▄ █▀█▀ █▀█▄▀ ▀ ▄ ██▀ ██▀ ██▀▄▀▀ █ ▄▄▄▄▄ ██
██ █ █ ██ ▄▀ ███ █ █ █ ▄▄█▀▄▄█ ██▀█ ▄█ █ █ ██
██ █▄▄▄█ █▄▀█▄ ▀ ▀▄▄ ▀█ ▄▄▄ ▄▄█ ██ ▀ ▀███ █▄▄▄█ ██
██▄▄▄▄▄▄▄█▄▀ ▀▄█ ▀ ▀ █ ▀ █▄█ █▄▀▄█ █▄▀▄█▄█ █▄▄▄▄▄▄▄██
██ █▄█▄█▄█▀▀██▄ ▀▀▀█ ▄▄█▄ ▄▄▄▄██ ▄██ ▄▄▄ ████▄██▄▀██
██ ▀ ▄▄▄█ ▄▄▀▀▀▄ ▄█▄████▄█▄█▄▀███ ▄▄ ▄▄▄ ▀█▄ ██ ██
██▄ ▀ ▄▄▄█▀▄▄█▄▀ ▀ ▄ ▄▄▄██ ██▀▄▀▄▄ ██▀█▄▄ ██ ██
██ ▀█▀█▄█▄ ████ ▄▄ ▄ ▄▄▄▀ ▄▄▀██▄ █ █ █▀▄██ ██▄▄██
██ █▄▄▀█▄▄ ▀▀ █▀ ▀▀ █▄ ▄ ▄█▄ ▄█▄ ▄▀▄ ██▄▄▄▄ ▄▀▀ ██
██▄██▄ ▄▀▀▀█▀▄▀▀ █▄▄█▄ █▀ ▄▀ ▄▄▀ ▄▀██ █▀▀█▄█▄██
███▄▄▀▄█▄█ ▄▄█▀▀▀▀▀█▀▄▄███▄ ▄▄ ▀▄▀▄▄▄▄▄▄█▀█▄█ ▀██ ██
███▄ ▄▄▄ ▄▀▄█▄ ▄██ ▄▄▄ █▀▄██ ██▄ █▄█ ▄▄▄ ▄█ ██
██▄ ▀ █▄█ ▀ ▀▄ ████ █▄█ █▄██▄ ▄█▄▄███ █▄█ █▀ ██
██▀▀▀ ▄▄▄ ▄▄▀██ ▀█ █▀█ ▄▄▄▄▀▀█▀█ ▄ ▄ ▄▄▄▄▄ ▄▄██ ██
██ ▄▀▄█▄▀▄▀ █ █▄███ ▀█ ▄██▀▄▄█▀ ▄█ ██▀ ███▄█ ██
██▄▀▀▄██▄ █▄ █▄▄▄██▀█▀ ▄▄ ▀▄▄▀▀▄▄▀█ ▀███▄ █▄██▄▄██
██▀██ ▀█▄ █ ███▀ ▀███▄█▄██▄▄▄ ▀█▀ ▀█▀▀▄▀▄▀▀ ▀█████▄██
██ ▄ ▄▀ ▄▄██▄▀▄▀█ ▀ ▄▄▄▀███▄▄ ▀▀▄▄▀█▄▀ █ ▀ ▄▄▄█▄ ██
██▄▄▄█ ▀▄█ █ ██ ██ █▄▄▀▀▄▄▄█▄▄▀▄▀▄ ▄ ▄▄▄▀▀██████ ██
███ ▀▀█▄▄▀ ▄█▄▄█▀▄ ▀██ ▀██▄▄▄ ▀█ █ ▄█▄▄██ █ ▄▄█▄██
██▄▄▄███▄▄ █▄▄ ▄▄▀▀ ▄▄█ ▄▄▄ ▄▄▄█ ▄ █▄▀ ▄▄▄ ██▀ ██
██ ▄▄▄▄▄ ██▀ ▄▀▀ ▀▀█ ▀ █▄█ ▄ ██▄ ▀█ ▄▄ █ █▄█ █▄▄▄██
██ █ █ █▄ ▀█▄▄ █ ▄█ ▄ ▄ ▄ ▀▄█▄█▄ ▄ ▄██ ▄▄▄ █▀ ▄██
██ █▄▄▄█ █▄▄ ▄ ▀ ▄ ▄ ▄█▀█▄▀█▄█ ██ █▄ ▀▄▄ ▄█▀███
██▄▄▄▄▄▄▄█▄▄█▄▄▄▄█▄▄██▄▄▄█▄█▄█▄▄▄█▄▄▄█▄█▄█▄▄█▄█▄█▄▄██

-or-

Click here to sign via Lora.
Sign this transaction to register your account keys:

Scan the QR code with Pera or Defly
(make sure you use the testnet-v1.0 network)

█████████████████████████████████████████████████
██ ▄▄▄▄▄ █▀█▀▀███ ▄ ▀▄▄▄▄███ ▄ █ █ █▀▄█ ▄▄▄▄▄ ██
██ █ █ ██ ▄ █▀█▄█ ▄▄▀█▄███ ▄███ ▀█ █ █ ██
██ █▄▄▄█ █▄█▀█ ▄▀█ ▀█ ▄▄▄ █ ▀▄ ▄▀█▄▄▄█ █▄▄▄█ ██
██▄▄▄▄▄▄▄█▄█ █ █ ▀▄█▄█ █▄█ █ █ █ ▀ ▀ █▄█▄▄▄▄▄▄▄██
██ ▀▄█▄█▄██▀ ▀█▄▄ ▄█▄ ▄▄▄▄ ▄▄█▄▄█ ▀█▄███▀ ██ ▀██
██▄▀ ▄ ▀▄█▄▄▄█ ▀█▄▀▄▄█ ██▀▄██▄ ▄█ ██ ████▄▄▄▄▄██
██ ▀▀▀ █▄█ ▄ ▄ ▀ ▄▀ █▀▀██ ▄▄▀▄█▄█▄▄▄█▄▄▄ ▄ ██▄██
██▀▄▀ ██▄▄▄ █▀▀▀▀▄█ ▄██▀▄ █▄ █▀▀▄▄███▄▄▄ ▄▄▄██
████ █ ▀▄▄██▀██▄ ▄▄▄█▄ ▄ ▄▀▄▄█ ▀▄ ██▄▄ ██▄███
██ ▀▄ ▀ ▄ ▄▀▀█▄▄▀▀ ▄▄█▄▄▄ █ █▀ ▄██▄██ ███▄ ██
██▀██▄ ▄▄▄ ▄ █▄▀▀▀▄ █ ▄▄▄ █ ▄█ ▄█▀ ▄▄▄ █ ██
██ █▀▀ █▄█ ▀▀ ▄█ █▀ ▀ █▄█ ▀ ▄█▄ ▄ █▄█ █▄▄ ██
██▀▄██ ▄▄▄█▀▀▀▄█▀█ █▄ ▄▄▄█ ▄█▄ █▀ ▄▄▀▀▀▀██
██▄▄▀▄▀▄▄█ ▄▄▀ ▀ ██ ▄█▀▀█ ██▄▄███▀ ▄██ ▄▄▄██
███▄▀▄█ ▄█▄▀█▄█▀▄▄▄█ ▀█▄▄ ▄▄ ▄▄▄ █▄█ █▄▄█▄█▄ ██
████ ▀▄▄▄ ▄▄▄ █ █▄▀▀▀█▄▀ █ █▀ ██ ▄█ ▀▀ ▄▀███▄██
██▄▄▄ ▄ ▄ ██▄▀▄█▄█▀█ ▄ ▀▄▀▄▄ █▄▄▄ ▄▀ ▄▄▄█████
███▀▀▀ █▄ █▀▀██▀▀ ▄ ▄▀ ▀▀█ █▀▀ ██ ██ ▄▄██▄▄ ██
██▄██▄▄█▄▄▀ ▄█▀ █ ███ ▄▄▄ ▀▄ █▄ ▄▀ ▄▄▄ ▄▄ ██
██ ▄▄▄▄▄ ████▄▄▄▄▀█▀ █ █▄█ ▄██ ▄█ █▀▄ █▄█ ▄█ ▄██
██ █ █ █▄█▄█▀▀▄█ █▄▀▄▄ ▄▄▄▄▄▄▄▀▄▄█▄ ▄▄ █▀▄▀██
██ █▄▄▄█ █▄▄ ▀ █▀██▄▄ █▄█▄▄▀█▀█▀█▄█▄▄▄▄▄ ▄▄ ▄██
██▄▄▄▄▄▄▄█▄██▄▄▄███▄▄█▄▄█▄▄▄▄▄▄█▄▄▄██▄▄██▄▄▄▄▄▄██

-or-

Click here to sign via Lora.

0 comments on commit 690cc4a

Please sign in to comment.