mirror of
				https://gitee.com/BDWare/cm
				synced 2025-11-04 02:22:14 +00:00 
			
		
		
		
	update logs
This commit is contained in:
		
							parent
							
								
									cdf94fc50d
								
							
						
					
					
						commit
						8efc164d99
					
				@ -139,18 +139,15 @@ public class ContractClient {
 | 
			
		||||
        String strEvent = get.syncGet("", "getDeclaredEvents", "");
 | 
			
		||||
        LOGGER.debug("event: " + strEvent);
 | 
			
		||||
        contractMeta.declaredEvents = JsonUtil.fromJson(strEvent,
 | 
			
		||||
                new TypeToken<Map<String, REventSemantics>>() {
 | 
			
		||||
                }.getType());
 | 
			
		||||
                new TypeToken<Map<String, REventSemantics>>() {}.getType());
 | 
			
		||||
        LOGGER.info("initProps ---- position-----3");
 | 
			
		||||
        contractMeta.dependentContracts =
 | 
			
		||||
                JsonUtil.fromJson(get.syncGet("", "getDependentContracts", ""),
 | 
			
		||||
                        new TypeToken<Set<String>>() {
 | 
			
		||||
                        }.getType());
 | 
			
		||||
                        new TypeToken<Set<String>>() {}.getType());
 | 
			
		||||
        LOGGER.info("initProps ---- position-----4");
 | 
			
		||||
        contractMeta.exportedFunctions =
 | 
			
		||||
                JsonUtil.fromJson(get.syncGet("", "getExportedFunctions", ""),
 | 
			
		||||
                        new TypeToken<List<FunctionDesp>>() {
 | 
			
		||||
                        }.getType());
 | 
			
		||||
                        new TypeToken<List<FunctionDesp>>() {}.getType());
 | 
			
		||||
        contractMeta.logDetail = new HashMap<>();
 | 
			
		||||
        for (FunctionDesp func : contractMeta.exportedFunctions) {
 | 
			
		||||
            StringBuilder str = new StringBuilder();
 | 
			
		||||
@ -180,8 +177,7 @@ public class ContractClient {
 | 
			
		||||
 | 
			
		||||
            String anno = get.syncGet("", "getAnnotations", "");
 | 
			
		||||
            contractMeta.annotations =
 | 
			
		||||
                    JsonUtil.fromJson(anno, new TypeToken<List<AnnotationNode>>() {
 | 
			
		||||
                    }.getType());
 | 
			
		||||
                    JsonUtil.fromJson(anno, new TypeToken<List<AnnotationNode>>() {}.getType());
 | 
			
		||||
 | 
			
		||||
        } catch (Exception e) {
 | 
			
		||||
            // supoort contract process before version 0.70
 | 
			
		||||
 | 
			
		||||
@ -1802,8 +1802,7 @@ public class ContractManager {
 | 
			
		||||
        logsDB.put(contractName, sb);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void changePermission(String contractFileName, String pmList) {
 | 
			
		||||
    }
 | 
			
		||||
    public void changePermission(String contractFileName, String pmList) {}
 | 
			
		||||
 | 
			
		||||
    // public String getSyncType(String contractName) {
 | 
			
		||||
    // ContractClient client = getByName(contractName);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user