🗨│developer-support
💬│general
🛠│developer-questions
📖│getting-started
🤝│hybrid-custody
📱│flow-mobile
joshua | Flow (2025-07-29)
is there a way in cadence to get the size of an AnyStruct in kb or something similar?
joshua | Flow (2025-07-09)
In the Cadence test framework, is Test.assertError deprecated or something? I don't see it in the docs
joshua | Flow (2025-05-06)
Is there a way to import struct definitions from scripts into the cadence testing framework so I can access their fields in my tests? I can't find any examples
joshua | Flow (2025-04-15)
I updated to the latest CLI version and now this test is failing. https://github.com/onflow/flow-ft/blob/master/tests/example_token_test.cdc#L170
It says length is zero instead of one. Does the testing framework track events different now or something?
Anyone know why that is?...
Vishal | Flow (2025-01-08)
is a transfer from Flow Address to Flow EVM address its own transaction or is it internal without a transaction? If it is a transaction, what kind of transaction is it?
Giovanni S | Flow (2024-11-07)
Running into an odd error deploying to Testnet - storage limit check failed with 1000 FLOW in account 0xb6c99d7ff216a684
txn ran with CLI
add-contract
- https://testnet.flowscan.io/tx/e4556c98514674d78602aba9cab8cdcecf3df185c26f99842521e7fc080ca180
Has anyone else seen this recently?...Bastian | Cadence (2024-10-25)
In the Cadence Testing Framework, is there a way to get access to the
Account
where the contract is deployed to? I'd like to e.g. access its storage
. Or is that only possible through running a script or transaction?Vishal | Flow (2024-09-20)
How to pass script arguments in flow cli? It seems there has been a change. This https://developers.flow.com/tools/flow-cli/scripts/execute-scripts#arguments-json doesn't seem to work.
Neither does this,
```$ flow scripts execute ./my_script.cdc Address:0xc87f5f0cfd217fcd -n mainnet...
$ flow scripts execute ./my_script.cdc '[{"type":"Address","value":"0xc87f5f0cfd217fcd"}]' -n mainnet
:x: Command Error: error parsing script arguments: argument `account` is not expected type `Address
$ flow scripts execute ./my_script.cdc '[{"type":"Address","value":"0xc87f5f0cfd217fcd"}]' -n mainnet
:x: Command Error: error parsing script arguments: argument `account` is not expected type `Address
Giovanni S | Flow (2024-09-12)
This may be a non-trivial question - can it be taken for granted that Flow addresses are uniformly distributed across the range of possible addresses?