File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -106,3 +106,14 @@ fromResult
106
106
case result of
107
107
| ok data := data
108
108
| error err := failwith (Show.show err);
109
+
110
+ modulesAppData (modules : List Nat) : AppData :=
111
+ Map.fromList [RawTag.fromNat 0, map (AnomaAtom.fromNat) modules]
112
+ |> AppData.fromMap;
113
+
114
+ moduleSubmissionTransaction
115
+ {M : Type -> Type}
116
+ {{Tx M}}
117
+ {{Monad M}}
118
+ (modules : List Nat)
119
+ : M Transaction := prepareStandardTransaction [] [] (modulesAppData modules);
Original file line number Diff line number Diff line change 2
2
# Do not edit this file manually.
3
3
4
4
version : 2
5
- checksum : fdae04b8525adca1be7ebefbdfd1c08a8e4e855df1059cfbcae37f731c88a1d1
5
+ checksum : 2404b847a6ab80e90e31ffa933a0abdd98d3b35458f523ec157a7c6d15ffa6f9
6
6
dependencies :
7
7
- git :
8
8
name : anoma_juvix-stdlib
You can’t perform that action at this time.
0 commit comments