mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-03 16:17:27 +00:00 
			
		
		
		
	fix: Fix path handling in script execution (#318)
This commit is contained in:
		
							parent
							
								
									760d4b4a53
								
							
						
					
					
						commit
						2272b5dbfd
					
				@ -1,12 +1,11 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
artifacts_path="$1"
 | 
					artifacts_path="$1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
check_abis() {
 | 
					check_abis() {
 | 
				
			||||||
    for contract_name in "$@"; do
 | 
					    for contract_name in "$@"; do
 | 
				
			||||||
        diff $(./scripts/search_abi.sh "$artifacts_path" "$contract_name.json") "storage-contracts-abis/$contract_name.json"
 | 
					        diff "$(./scripts/search_abi.sh "$artifacts_path" "$contract_name.json")" "storage-contracts-abis/$contract_name.json"
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					check_abis DummyMarket DummyReward Flow PoraMine PoraMineTest FixedPrice ChunkLinearReward FixedPriceFlow
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user