-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miner rejects (get-block-info? miner-address u0)
, causing nonce mismatch for submitting account
#5128
Comments
This transaction is treated as a "problematic" transaction, which means that it will not be included in a block. These kinds of transactions always cause trouble, so should be avoided whenever possible. Instead of treating this as a problematic transaction, it should just result in a |
Example of |
The explorer showing as "in mempool" is just a bug around not handling this TX status: hirosystems/explorer#1907 |
Wait, does this only fail on Clarity Wasm, or in the current release? |
I haven't got the chance to test it on another nakamoto network. Naka 4 was failing as |
Describe the bug
Deploying a contract with the
get-block-info? miner-address u0
code works, but executing it causes the miner to reject it, leading to aTooMuchChaining
error on further transactions. While @moodmosaic and I were automating contract deployments and calls, we hit this issue.Steps To Reproduce
stacks-core
and start the node using the configuration located instacks-core/testnet/stacks-node/conf/mocknet-miner-conf.toml
$ cat ./get-block-info-0.clar (define-public (func) (ok (get-block-info? miner-address u0))
blockstack-cli
binary:func
contract call using theblockstack-cli
binary:Expected behavior
We would expect the function to be picked up by the miner and return a proper response.
Environment (please complete the following information):
Additional context
The issue was found while running the mocknet, thanks to @obycode's help. Here's the miner log:
CC: @wileyj
The text was updated successfully, but these errors were encountered: