All Questions
Tagged with development contract-development
4 questions
0
votes
1
answer
192
views
Strange checksum256->uint64_t casting
I'm trying to cast checksum256 to uint64_t
Here is conversion code:
uint64_t checksum_to_uint64(const eosio::checksum256 & digest) {
auto checksum_bytes = digest.extract_as_byte_array()....
0
votes
0
answers
98
views
When deploying a contract what is important (overall contract/wasm size or amount of functions etc) to not get transaction took too long
when I try to deploy the system.contract I sometimes get transaction took too long with the new eosio version 1.8.1.
Now I would like to know on which part of a contract do I need to pay attention ...
1
vote
2
answers
242
views
How to pass a map into an action
I'm trying to pass a map into action, but there is serialization error:
Error: expected object containing data: undefined
There is a function signature:
void init(uint64_t id, const map<uint8_t, ...
0
votes
0
answers
274
views
Regex validation on smart contracts
Is is possible to use regex validation in a smart contract?