Skip to content

Commit c8e6a95

Browse files
missed a spot
1 parent 71044d0 commit c8e6a95

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

motoko/basic_bitcoin/src/basic_bitcoin/src/Main.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ persistent actor class BasicBitcoin(network : Types.Network) {
2727
/// When developing locally this should be `regtest`.
2828
/// When deploying to the IC this should be `testnet`.
2929
/// `mainnet` is currently unsupported.
30-
stable let NETWORK : Network = network;
30+
let NETWORK : Network = network;
3131

3232
/// The derivation path to use for ECDSA secp256k1 or Schnorr BIP340/BIP341 key
3333
/// derivation.

motoko/classes/src/map/Buckets.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ persistent actor class Bucket(n : Nat, i : Nat) {
66
type Key = Nat;
77
type Value = Text;
88

9-
let map = Map.RBTree<Key, Value>(Nat.compare);
9+
transient let map = Map.RBTree<Key, Value>(Nat.compare);
1010

1111
public func get(k : Key) : async ?Value {
1212
assert ((k % n) == i);

motoko/composite_query/src/map/Buckets.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ persistent actor class Bucket(n : Nat, i : Nat) {
66
type Key = Nat;
77
type Value = Text;
88

9-
let map = Map.RBTree<Key, Value>(Nat.compare);
9+
transient let map = Map.RBTree<Key, Value>(Nat.compare);
1010

1111
public query func get(k : Key) : async ?Value {
1212
assert ((k % n) == i);

motoko/low_wasm_memory/src/low_wasm_memory_hook/main.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ persistent actor {
1010
};
1111

1212
// State
13-
var fnOrderBuffer = Buffer.Buffer<FnType>(30);
14-
var bytes : Deque.Deque<[Nat]> = Deque.empty();
15-
var hookExecuted : Bool = false;
13+
transient var fnOrderBuffer = Buffer.Buffer<FnType>(30);
14+
transient var bytes : Deque.Deque<[Nat]> = Deque.empty();
15+
transient var hookExecuted : Bool = false;
1616

1717
// Query function to get execution order
1818
public query func getExecutedFunctionsOrder() : async [FnType] {

motoko/tokenmania/backend/app.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ persistent actor class Tokenmania() = this {
217217

218218
Principal.equal(lhs.owner, rhs.owner) and Blob.equal(
219219
lhsSubaccount,
220-
rhsSubaccount
220+
rhsSubaccount,
221221
);
222222
};
223223

@@ -390,11 +390,11 @@ persistent actor class Tokenmania() = this {
390390
};
391391

392392
// The list of all transactions.
393-
var log : TxLog = makeGenesisChain();
393+
transient var log : TxLog = makeGenesisChain();
394394

395395
// The stable representation of the transaction log.
396396
// Used only during upgrades.
397-
stable var persistedLog : [Transaction] = [];
397+
var persistedLog : [Transaction] = [];
398398

399399
system func preupgrade() {
400400
persistedLog := log.toArray();
@@ -557,7 +557,7 @@ persistent actor class Tokenmania() = this {
557557
{
558558
name = "ICRC-2";
559559
url = "https://github.com/dfinity/ICRC-1/tree/main/standards/ICRC-2";
560-
}
560+
},
561561
];
562562
};
563563

0 commit comments

Comments
 (0)