Skip to content

Instantly share code, notes, and snippets.

@gitpusha
Created August 21, 2020 11:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gitpusha/5824ee921baae2537215815f1f00e8a2 to your computer and use it in GitHub Desktop.
Error I get when trying to send a tx to a contract instance connected to my unlocked account signer
Error: processing response error (body={"0":123,"1":34,"2":105,"3":100,"4":34,"5":58,"6":52,"7":52,"8":44,"9":34,"10":106,"11":115,"12":111,"13":110,"14":114,"15":112,"16":99,"17":34,"18":58,"19":34,"20":50,"21":46,"22":48,"23":34,"24":44,"25":34,"26":101,"27":114,"28":114,"29":111,"30":114,"31":34,"32":58,"33":123,"34":34,"35":109,"36":101,"37":115,"38":115,"39":97,"40":103,"41":101,"42":34,"43":58,"44":34,"45":86,"46":77,"47":32,"48":69,"49":120,"50":99,"51":101,"52":112,"53":116,"54":105,"55":111,"56":110,"57":32,"58":119,"59":104,"60":105,"61":108,"62":101,"63":32,"64":112,"65":114,"66":111,"67":99,"68":101,"69":115,"70":115,"71":105,"72":110,"73":103,"74":32,"75":116,"76":114,"77":97,"78":110,"79":115,"80":97,"81":99,"82":116,"83":105,"84":111,"85":110,"86":58,"87":32,"88":105,"89":110,"90":118,"91":97,"92":108,"93":105,"94":100,"95":32,"96":111,"97":112,"98":99,"99":111,"100":100,"101":101,"102":34,"103":44,"104":34,"105":99,"106":111,"107":100,"108":101,"109":34,"110":58,"111":45,"112":51,"113":50,"114":48,"115":48,"116":48,"117":44,"118":34,"119":100,"120":97,"121":116,"122":97,"123":34,"124":58,"125":123,"126":34,"127":115,"128":116,"129":97,"130":99,"131":107,"132":34,"133":58,"134":34,"135":82,"136":117,"137":110,"138":116,"139":105,"140":109,"141":101,"142":69,"143":114,"144":114,"145":111,"146":114,"147":58,"148":32,"149":86,"150":77,"151":32,"152":69,"153":120,"154":99,"155":101,"156":112,"157":116,"158":105,"159":111,"160":110,"161":32,"162":119,"163":104,"164":105,"165":108,"166":101,"167":32,"168":112,"169":114,"170":111,"171":99,"172":101,"173":115,"174":115,"175":105,"176":110,"177":103,"178":32,"179":116,"180":114,"181":97,"182":110,"183":115,"184":97,"185":99,"186":116,"187":105,"188":111,"189":110,"190":58,"191":32,"192":105,"193":110,"194":118,"195":97,"196":108,"197":105,"198":100,"199":32,"200":111,"201":112,"202":99,"203":111,"204":100,"205":101,"206":92,"207":110,"208":32,"209":32,"210":32,"211":32,"212":97,"213":116,"214":32,"215":70,"216":117,"217":110,"218":99,"219":116,"220":105,"221":111,"222":110,"223":46,"224":82,"225":117,"226":110,"227":116,"228":105,"229":109,"230":101,"231":69,"232":114,"233":114,"234":111,"235":114,"236":46,"237":102,"238":114,"239":111,"240":109,"241":82,"242":101,"243":115,"244":117,"245":108,"246":116,"247":115,"248":32,"249":40,"250":47,"251":85,"252":115,"253":101,"254":114,"255":115,"256":47,"257":108,"258":117,"259":105,"260":115,"261":47,"262":68,"263":101,"264":115,"265":107,"266":116,"267":111,"268":112,"269":47,"270":103,"271":101,"272":108,"273":97,"274":116,"275":111,"276":45,"277":105,"278":110,"279":115,"280":116,"281":97,"282":100,"283":97,"284":112,"285":112,"286":47,"287":110,"288":111,"289":100,"290":101,"291":95,"292":109,"293":111,"294":100,"295":117,"296":108,"297":101,"298":115,"299":47,"300":103,"301":97,"302":110,"303":97,"304":99,"305":104,"306":101,"307":45,"308":99,"309":111,"310":114,"311":101,"312":47,"313":108,"314":105,"315":98,"316":47,"317":117,"318":116,"319":105,"320":108,"321":115,"322":47,"323":114,"324":117,"325":110,"326":116,"327":105,"328":109,"329":101,"330":101,"331":114,"332":114,"333":111,"334":114,"335":46,"336":106,"337":115,"338":58,"339":57,"340":48,"341":58,"342":49,"343":51,"344":41,"345":92,"346":110,"347":32,"348":32,"349":32,"350":32,"351":97,"352":116,"353":32,"354":109,"355":111,"356":100,"357":117,"358":108,"359":101,"360":46,"361":101,"362":120,"363":112,"364":111,"365":114,"366":116,"367":115,"368":32,"369":40,"370":47,"371":85,"372":115,"373":101,"374":114,"375":115,"376":47,"377":108,"378":117,"379":105,"380":115,"381":47,"382":68,"383":101,"384":115,"385":107,"386":116,"387":111,"388":112,"389":47,"390":103,"391":101,"392":108,"393":97,"394":116,"395":111,"396":45,"397":105,"398":110,"399":115,"400":116,"401":97,"402":100,"403":97,"404":112,"405":112,"406":47,"407":110,"408":111,"409":100,"410":101,"411":95,"412":109,"413":111,"414":100,"415":117,"416":108,"417":101,"418":115,"419":47,"420":103,"421":97,"422":110,"423":97,"424":99,"425":104,"426":101,"427":45,"428":99,"429":111,"430":114,"431":101,"432":47,"433":108,"434":105,"435":98,"436":47,"437":117,"438":116,"439":105,"440":108,"441":115,"442":47,"443":103,"444":97,"445":115,"446":47,"447":103,"448":117,"449":101,"450":115,"451":116,"452":105,"453":109,"454":97,"455":116,"456":105,"457":111,"458":110,"459":46,"460":106,"461":115,"462":58,"463":49,"464":52,"465":50,"466":58,"467":51,"468":50,"469":41,"470":34,"471":44,"472":34,"473":110,"474":97,"475":109,"476":101,"477":34,"478":58,"479":34,"480":82,"481":117,"482":110,"483":116,"484":105,"485":109,"486":101,"487":69,"488":114,"489":114,"490":111,"491":114,"492":34,"493":125,"494":125,"495":125}, error={"code":-32000,"data":{"stack":"RuntimeError: VM Exception while processing transaction: invalid opcode\n at Function.RuntimeError.fromResults (/Users/luis/Desktop/gelato-instadapp/node_modules/ganache-core/lib/utils/runtimeerror.js:90:13)\n at module.exports (/Users/luis/Desktop/gelato-instadapp/node_modules/ganache-core/lib/utils/gas/guestimation.js:142:32)","name":"RuntimeError"}}, requestBody={"0":123,"1":34,"2":109,"3":101,"4":116,"5":104,"6":111,"7":100,"8":34,"9":58,"10":34,"11":101,"12":116,"13":104,"14":95,"15":101,"16":115,"17":116,"18":105,"19":109,"20":97,"21":116,"22":101,"23":71,"24":97,"25":115,"26":34,"27":44,"28":34,"29":112,"30":97,"31":114,"32":97,"33":109,"34":115,"35":34,"36":58,"37":91,"38":123,"39":34,"40":102,"41":114,"42":111,"43":109,"44":34,"45":58,"46":34,"47":48,"48":120,"49":52,"50":98,"51":55,"52":51,"53":54,"54":51,"55":98,"56":56,"57":97,"58":55,"59":100,"60":97,"61":98,"62":55,"63":54,"64":102,"65":102,"66":55,"67":51,"68":100,"69":102,"70":98,"71":97,"72":48,"73":48,"74":56,"75":48,"76":49,"77":98,"78":100,"79":100,"80":99,"81":101,"82":54,"83":57,"84":57,"85":102,"86":51,"87":97,"88":50,"89":34,"90":44,"91":34,"92":116,"93":111,"94":34,"95":58,"96":34,"97":48,"98":120,"99":49,"100":100,"101":54,"102":56,"103":49,"104":100,"105":55,"106":54,"107":99,"108":101,"109":57,"110":54,"111":101,"112":52,"113":100,"114":55,"115":48,"116":97,"117":56,"118":56,"119":97,"120":48,"121":48,"122":101,"123":98,"124":98,"125":99,"126":102,"127":99,"128":49,"129":101,"130":52,"131":55,"132":56,"133":48,"134":56,"135":100,"136":48,"137":98,"138":56,"139":34,"140":44,"141":34,"142":100,"143":97,"144":116,"145":97,"146":34,"147":58,"148":34,"149":48,"150":120,"151":49,"152":49,"153":52,"154":99,"155":51,"156":98,"157":99,"158":100,"159":34,"160":125,"161":93,"162":44,"163":34,"164":105,"165":100,"166":34,"167":58,"168":52,"169":52,"170":44,"171":34,"172":106,"173":115,"174":111,"175":110,"176":114,"177":112,"178":99,"179":34,"180":58,"181":34,"182":50,"183":46,"184":48,"185":34,"186":125}, requestMethod="POST", url="http://localhost:8545", code=SERVER_ERROR, version=web/5.0.3)
at Logger.makeError (node_modules/@ethersproject/logger/src.ts/index.ts:205:28)
at Logger.throwError (node_modules/@ethersproject/logger/src.ts/index.ts:217:20)
at /Users/luis/Desktop/gelato-instadapp/node_modules/@ethersproject/web/src.ts/index.ts:260:28
at step (node_modules/@ethersproject/web/lib/index.js:33:23)
at Object.next (node_modules/@ethersproject/web/lib/index.js:14:53)
at fulfilled (node_modules/@ethersproject/web/lib/index.js:5:58)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment