mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-28 14:39:51 +00:00
Ensure correct flags are passed to solc in std json mode (#440)
This tests the marketplace contracts to compile fine. In prior versions this fails to compile, hitting the solc "Stack too deep" error. Closes #409 Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
1 parent
cfcd2ff77c
commit
13070a4bdf
4 files changed
+89
-2
No files matched your search
@@ -33,6 +33,10 @@ pub const STANDARD_JSON_CONTRACTS_PATH: &str =
|
||||
/// selection flags, it should compile fine regardless.
|
||||
pub const STANDARD_JSON_NO_EVM_CODEGEN_PATH: &str =
|
||||
"src/tests/data/standard_json/no_evm_codegen.json";
|
||||
/// This is a complex contract from a real dApp, triggering the
|
||||
/// infamous "Stack too deep" error in the EVM codegen.
|
||||
pub const STANDARD_JSON_NO_EVM_CODEGEN_COMPLEX_PATH: &str =
|
||||
"src/tests/data/standard_json/no_evm_codegen_complex.json";
|
||||
|
||||
/// The `resolc` YUL mode flag.
|
||||
pub const RESOLC_YUL_FLAG: &str = "--yul";
|
||||
|
||||
Reference in new issue
Block a user