logic->impl renaming fixes

This commit is contained in:
tim
2024-08-30 16:45:50 -04:00
parent be372098ef
commit 831a86beeb
4 changed files with 15 additions and 16 deletions

View File

@@ -123,11 +123,10 @@ export class AbiURLCache extends AsyncURLCache {
const files = {
// If a contract is in a file different than its name, put the exception here
// 'IVaultLogic' : 'IVault', // for example
'IVaultLogic' : 'IVault', // for example
// 'IVaultImpl' : 'IVault', // for example
}
export function abiPath(name) {
const file = files[name]
return `${file?file:name}.sol/${name}.json`
return `${file??name}.sol/${name}.json`
}