diff --git a/src/loom-provider.ts b/src/loom-provider.ts index f70fb255..712d4fd9 100644 --- a/src/loom-provider.ts +++ b/src/loom-provider.ts @@ -305,6 +305,8 @@ export class LoomProvider { this._ethRPCMethods.set('eth_newBlockFilter', this._ethCallSupportedMethod) this._ethRPCMethods.set('eth_newFilter', this._ethCallSupportedMethod) this._ethRPCMethods.set('eth_uninstallFilter', this._ethCallSupportedMethod) + this._ethRPCMethods.set('debug_traceTransaction', this._ethCallSupportedMethod) + this._ethRPCMethods.set('debug_storageRangeAt', this._ethCallSupportedMethod) this._ethRPCMethods.set('eth_getStorageAt', this._ethCallSupportedMethod) this._ethRPCMethods.set('eth_subscribe', this._ethSubscribe) this._ethRPCMethods.set('eth_unsubscribe', this._ethUnsubscribe) @@ -425,7 +427,7 @@ export class LoomProvider { const prepareMethodToCall = (method: string) => { const methodToCall = this._ethRPCMethods.get(method) if (!methodToCall) { - throw Error(`Method "${payload.method}" not supported on this provider`) + throw Error(`Method "${payload.method}"piers not supported on this provider`) } return methodToCall }