mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-22 13:47:55 +00:00
da31e66fb4
Before this commit, the types that were used for the compiler input and output were the resolc compiler types which was a leaky abstraction as we have traits to abstract the compilers away but we expose their internal types out to other crates. This commit did the following: 1. Made the compiler IO types fully generic so that all of the logic for constructing the map of compiled contracts is all done by the compiler implementation and not by the consuming code. 2. Changed the input types used for Solc to be the forge standard JSON types for Solc instead of resolc.
21 lines
381 B
JSON
21 lines
381 B
JSON
{ "cases": [ {
|
|
"name": "first",
|
|
"inputs": [
|
|
{
|
|
"instance": "Main",
|
|
"method": "main",
|
|
"calldata": [
|
|
"1",
|
|
"Callable.address"
|
|
]
|
|
}
|
|
],
|
|
"expected": [
|
|
"1"
|
|
]
|
|
} ],
|
|
"contracts": {
|
|
"Main": "main.sol:Main",
|
|
"Callable": "callable.sol:Callable"
|
|
}
|
|
} |