mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #996 from chriseth/externaltypesforevents
Do not use internal types for event parameters.
This commit is contained in:
		
						commit
						341c9436a8
					
				| @ -92,9 +92,10 @@ string InterfaceHandler::abiInterface(ContractDefinition const& _contractDef) | ||||
| 		Json::Value params(Json::arrayValue); | ||||
| 		for (auto const& p: it->parameters()) | ||||
| 		{ | ||||
| 			solAssert(!!p->annotation().type->interfaceType(false), ""); | ||||
| 			Json::Value input; | ||||
| 			input["name"] = p->name(); | ||||
| 			input["type"] = p->annotation().type->canonicalName(false); | ||||
| 			input["type"] = p->annotation().type->interfaceType(false)->canonicalName(false); | ||||
| 			input["indexed"] = p->isIndexed(); | ||||
| 			params.append(input); | ||||
| 		} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user