stratisproject / StratisBitcoinFullNode

Bitcoin full node in C#
https://stratisplatform.com
MIT License
783 stars 315 forks source link

Contract Creation Problem #4175

Closed ranjancse26 closed 4 years ago

ranjancse26 commented 4 years ago

I see the contract validation was successful, got the byte code and the smart contract creation appeared to be successful with the hash. However, I see some issues when I tried the receipt query by hash for which I do not see the contract address. Also see some errors.

image

ranjancse26 commented 4 years ago

Sorry, I was using older version of the Hello world contract sample. Looks like there was a change in the new or updated s/w. That's why it failed.

StratisAdmin helped me in providing the new contract sample. It's working as expected.

https://github.com/stratisproject/StratisBitcoinFullNode/blob/LSC-tutorial/src/Stratis.SmartContracts.Examples.HelloWorld/HelloWorld.cs

image