developer-forums
💬│general
🛠│developer-questions
📖│getting-started
🤝│hybrid-custody
📱│flow-mobile
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?
Jerome | Flow (2024-09-10)
I was wondering what treatment the CLI undertakes when handling string arguments, specifically casting of arguments to Cadence types. The docs don't mention anything specifically https://developers.flow.com/tools/flow-cli/transactions/send-transactions#arguments-1
It seems that it does handle the type casting for you, but i wanted to confirm and also understand the limitations of this if there are any @Chase | Flow 4D @Tom | Flow 4D thanks...
Jerome | Flow (2024-09-09)
Hi. Trying to figure out why I can't run any transactions for an account using CLI and why they all fail with the following message:
`This transaction was not submitted because it was sent to the blockchain with a key that already has a pending transaction.
[Error Code: 1009] error caused by: 1 error occurred:
* transaction verification failed: [Error Code: 1006] invalid proposal key: public key 0 on account 1844efeb3fef2542 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account 1844efeb3fef2542 does not have a valid signature: signature is not valid...
Vishal | Flow (2024-09-06)
how do I create a new account on flow mainnet (I lost the keys to my test account)?
Flow cli fails..
$ flow accounts create
Enter an account name: test
âś” Mainnet...
Alex Ni | Flow 4D (2024-08-23)
is there any example of how to pass account keys to a transaction in go?
previously the was something like
```go
flow.NewTransaction().
SetScript(script)....
joshua | Flow (2024-08-16)
I'm updating my go dependencies in the smart contract repos to the latest versions of CLI, emulator, etc and I am getting these errors about certain packages not being in GOROOT: https://github.com/onflow/flow-nft/actions/runs/10423176095/job/28869316822?pr=230
Anyone know what that means?...
Bohao | Flow (2024-08-16)
[C1.0]
Is it possible to have a safe way (no panic) to check if the resource is upgraded?
```
// I have an arbitrary StoragePath here, and I can also get a corresponding Type.
let unsafeType = account.storage.type(at: path) // No problem for this line....
Alex Ni | Flow 4D (2024-08-15)
did anyone encounter this error?
[Error Code: 1101] cadence runtime error: %!v(PANIC=Error method: runtime error: index out of range [9] with length 9)
It happens on these calls for come vaults:
```
let vault = acct.storage.borrow<&{FungibleToken.Vault}>(from: path)...