TON Дев Чат
[ 1][t 1][2022-12-08 11:57:41.317123][lite-client.cpp:165][!testnode] fatal error executing command-line queries, skipping the rest
subprocess.CalledProcessError: Command '['/Users/nicolas/testtest/ton/ton-build/crypto/lite-client', '-v', '3', '--timeout', '3', '-C', '/Users/nicolas/Library/Application Support/toncli/testnet.json', '-v', '0', '-c', 'getaccount kQCmvD-MTZpHXUAZCa03j9bR_ze0WjKw2MzizN6hKf5e3bJw ']' returned non-zero exit status 1.
third-party\rocksdb\CMakeLists.txt
if(MSVC)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX2")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX")
get_data
, defining a global function of unknown typeSEND <dest-addr> <amount>
const WalletClass = tonweb.wallet.all.
v3R2;
const wallet = new WalletClass(tonweb.provider, {
publicKey: keyPair.publicKey,
walletId: 4,
});
stateInit
u подставлялся seqno:
null, поправил это и заработалоINFO: 🥰 First time run - i'll create config folder 4you and save some stuff there
INFO: 🤖 Check all executables are installed...
ERROR: [Errno 13] Permission denied: '/home/truepog/ton/func'
есть идеи как исправить?
/usr/include/c++/9/bits/hashtable.h:1854:7: internal compiler error: Segmentation fault
1854 | }
| ^
0x7f449e47508f ???
/build/glibc-SzIz7B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x7f449e456082 __libc_start_main
../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
/home/truepog/ton/third-party/rocksdb/db/merge_context.h:37:45: required from here
/usr/include/c++/7/bits/stl_uninitialized.h:313:5: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
invalid dictionary fork node
commit ba8f700e26620707f8ff14e46cc9a040a1b3f97c (HEAD -> master, origin/master, origin/HEAD)
Merge: f9e87ed ee43c39
Author: EmelyanenkoK <emelyanenko.kirill@gmail.com>
Date: Tue Nov 22 16:30:53 2022 +0300
Merge pull request #527 from neodiX42/patch-3
time_delta
в формуле storage_fee =... от какого времени считается?
forall X -> (tuple, X) tpop(tuple t) asm "TPOP";
TON_API_TONLIB_CDLL_PATH=/app/libtonlibjson.so
.ton://transfer/<destination-address>?
[jetton=<jetton-master-address>&]
[amount=<elementary units>&]
[fee-amount=<nanocoins>&]
[forward-amount=<nanocoins>]
Unresolved questions
1 Shall we standardize internal message with royalties which markets send to the author?
client.call(CONTRACT_ADDRESS, "get_addresses", [["num",
0]])
(slice, int) dict_get?(cell dict, int key_len, slice index) asm(index dict key_len) "DICTGET" "NULLSWAPIFNOT";
Получаем метод dict_get?
, который должен работать так:Looks up key index in dictionary dict with slice-key index of len = key_len. On success, returns the value found as a slice along with a -1 flag indicating success. If fails, it returns (null, 0).
Я именно этот метод не пробовал, но думаю так будет работать.
fift
-I <path-to-sources>/crypto/fift/lib/
kQBVQSJ0QRf0QU8CyjRvwjJOKrObUCPCE2VkbVPRfyCaV-jS
kQBVQSJ0QRf0QU8CyjRvwjJOKrObUCPCE2VkbVPRfyCaV-jS
2 TON
const newContractAddress = contractAddress({workchain: 0, initialData: initDataCell, initialCode: initCodeCell});
async function deploy() {
const seqno = await wallet.getSeqNo();
const transfer = wallet.createTransfer({
secretKey: key.secretKey,
seqno: seqno,
sendMode: SendMode.PAY_GAS_SEPARATLY + SendMode.IGNORE_ERRORS,
order: new InternalMessage({
to: newContractAddress,
value: tonNano(0.5),
bounce: false,
body: new CommonMessageInfo({
stateInit: new StateInit({data: initDataCell, code: initCodeCell}),
body: null,
}),
}),
});
await client.sendExternalMessage(wallet, transfer);
};
await deploy();
set validatorWalletName <wallet_name>
ImportError: cannot import name 'BitString' from 'bitstring' (/usr/local/lib/python3.10/dist-packages/bitstring.py)
google_logo
поддерживается
(await nftCollection.createStateInit()).stateInit
отдаёт массив битов (см. ниже), мне надо этот массив перевести в boc. Подскажите пожалуйста, как это сделать){"bits":{"array":{"0":48,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0..........
rldp-http-proxy -a <global-ip>:3333 -L '*' -C ton-global.config.json
Доки:1894658248
addr_var$11 anycast:(Maybe Anycast) addr_len:(## 9)Но это вроде не реализовано 🤔
workchain_id:int32 address:(bits addr_len) = MsgAddressInt;
action_fees
, т.к. в подробном разборе указаны out_ext_msg_fwd_fee и int_msg_mine_fee о которых подробнее я не нашел описания
load_dict
подобной функции?
Если есть предложения, как это описать ещё лучше, давайте сделаем.
Check deploy wallet locally (in config user folder)
If it's first time - simple wallet will be created in config folder
Message with wallet address and tips will be displayed (user need to send some TON coin on it)
If there is no TON in deploy contract - script will exit and notify user to update deployer balance
bit_price_ps:1 cell_price_ps:500 mc_bit_price_ps:1000 mc_cell_price_ps:500000
Вот стоимость хранения за биты и ячейки в воркчейне и мастерчейне соответственно за 0xffff секунд.