mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Do not let low-level semantic test calls depend on a well-defined contract ABI.
This commit is contained in:
		
							parent
							
								
									811b8e565b
								
							
						
					
					
						commit
						0ea06e1c71
					
				| @ -410,7 +410,8 @@ TestCase::TestResult SemanticTest::runTest( | ||||
| 
 | ||||
| 			test.setFailure(!m_transactionSuccessful); | ||||
| 			test.setRawBytes(std::move(output)); | ||||
| 			test.setContractABI(m_compiler.contractABI(m_compiler.lastContractName(m_sources.mainSourceFile))); | ||||
| 			if (test.call().kind != FunctionCall::Kind::LowLevel) | ||||
| 				test.setContractABI(m_compiler.contractABI(m_compiler.lastContractName(m_sources.mainSourceFile))); | ||||
| 		} | ||||
| 
 | ||||
| 		vector<string> effects; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user