argotorg / argotorg/solidity

Failed to decode output: Error

Open
#16,183 0 comments 0 reactions 0 assignees View on GitHub
bug :bug:
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
21

Description

Environment: remix
```solidity
contract C{
function k(string calldata a, bytes memory b) public returns (string memory) {
return string.concat(a, string(b));
}
}
```
input: 0x40, 0x80
output: Failed to decode output: Error: deferred error during ABI decoding triggered accessing index 0

Why does the decoding error occur?

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure in Remix using the contract and inputs shown in the issue. No source file, test, or compiler entry point is identified, so trace the ABI output decoding path to determine why accessing index 0 triggers the deferred error. Done means the cause is established and a focused regression test or fix is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, solidity
Domain
blockchain, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.