-
The following func code
```
int flags = 1; ;; pending
int _expires = now() + expires * 3600 * 24 * 1;
```
is compiled into
```
1 PUSHINT
NOW
s0 s3 XCHG
3600 P…
-
The FunC code
```
int test() method_id {
int i = 0;
int f = true;
while (f) {
i = i + 1;
if (i > 5) {
return 1;
}
f = (i * i != 64);
}
return -1;
}
```
…
-
The FunC code
```
() recv_internal(slice in_msg) impure {
}
() recv_external(slice in_msg) impure {
var cs = in_msg;
var msg_seqno = cs~load_uint(32);
var ds = get_data().begin_parse();
…
-
Here's the sample fift code
```
"Asm.fif" include
PROGRAM{
DECLPROC main
main PROC:
}END>s constant code
constant storage
-
For example we have func code:
```
;; load from external msg
cell dict1 = load_dict1();
;; load from persistent data
cell dict2 = load_dict2();
int dict1_pos = -1;
do {
(dict1_pos, slice cs1…
-
When I try to run create state in the latest commit, I'm getting an error from the fift script CreateState
[ 1][t 0][1571676161.116434336][words.cpp:2906] CreateState.fif:194: pubkey>$: -?
[ 1][t …
-
Here is an example of created wallet
0f-tGs1HBweSDCLnvVSih4J9zf5knXEdxLYkveHwizYkkDBf
kf-tGs1HBweSDCLnvVSih4J9zf5knXEdxLYkveHwizYkkG2a
when trying to get wallet state for it tonlib returns
```…
-
When you try to compile a file saved on Windows platform (with \r\n) line ending, func compiler produces an error. It looks like the issue is here https://github.com/ton-blockchain/ton/blob/master/cry…
ghost updated
5 years ago
-
I'm working from commit 9c9248a9ae1791152d88c9c36574b4becdf5e8b6
If I try to run the gen-zerostate script, I get an error on line 7.
[ 1][t 0][1571253062.931130171][words.cpp:2906] gen-zerostate…
-
Was following the HOWTO instructions for the Lite client.
It looks like I'm able to create an account (file at least).
I can create an request from the test giver.
tonton@ip-10-5-1-8:~/source…