We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bcb0ea commit 5232f5fCopy full SHA for 5232f5f
libs/remix-core-plugin/src/lib/compiler-artefacts.ts
@@ -2,6 +2,7 @@
2
import { Plugin } from '@remixproject/engine'
3
import { util } from '@remix-project/remix-lib'
4
import { CompilerAbstract } from '@remix-project/remix-solidity'
5
+import { toChecksumAddress } from '@ethereumjs/util'
6
7
const profile = {
8
name: 'compilerArtefacts',
@@ -202,7 +203,7 @@ export class CompilerArtefacts extends Plugin {
202
203
}
204
205
get(key) {
- return this.compilersArtefacts[key]
206
+ return this.compilersArtefacts[key] || this.compilersArtefacts[toChecksumAddress(key)]
207
208
209
async getContractDataFromAddress(address) {
0 commit comments