I am trying to deploy a smart contract on infura and I keep getting this error. I am using solc 0.4.25 and [email protected]. Please help

Jul 1, 2019, 9:29 AM
Please read error text
And fix
Jul 1, 2019, 11:53 AM
It says it's a unhandled promise, can you check if bytecode variable is coming from a resolved promise. Try checking your async call( promises/callbacks or async await)
You might wanna share the code snippet for error
Jul 1, 2019, 11:55 AM
It says bytecode is not defined
Jul 1, 2019, 11:56 AM
Hi Abhi,
I was able to fix it. The issue was I missed someCompiledContract in someCompiledContract.bytecode. I just typed "data: bytecode"
Thanks
Jul 1, 2019, 11:58 AM
great👍
Jul 1, 2019, 8:34 PM

© 2024 Draquery.com All rights reserved.