These are chat archives for Nethereum/Nethereum

11th
May 2018
Juan Blanco
@juanfranblanco
May 11 2018 03:34 UTC
End users in this scenario will need attributes
Also business logic validation and rules are put on top of commads and queries, leaving the execution as an interface for implementation
TarrahArshad
@TarrahArshad
May 11 2018 04:09 UTC
@juanfranblanco how to add week in datetime in contract ?
  • 1 week
''' + 1 week '''
maurocts
@maurocts
May 11 2018 07:44 UTC
Is someone interested in opening a new mining pool ?
Juan Blanco
@juanfranblanco
May 11 2018 08:13 UTC
Casper is coming with PoS
junocaj
@junocaj
May 11 2018 08:56 UTC
@juanfranblanco I am going thru Nethereum BlockchainStorage
found that the contracts table has nth when the block has a transaction
junocaj
@junocaj
May 11 2018 09:03 UTC

in TransactionProcessor.ProcessTransactionAsync, it checks if the transactionSource and transactionReceipt is good to create a contract, it creates a contract and insert to the table

otherwise it checks whether the contractaddress exists in the contracts table, if so then further process transactionlog and transactionvmstack

junocaj
@junocaj
May 11 2018 09:09 UTC
however, i found that it never create a contract (contractaddress is always non-empty string), and the contract table is hence always empty, so...transactionlog and transactionvmstack are not processed
aint sure if i missed anything...
KarzanBotani
@KarzanBotani
May 11 2018 13:47 UTC

Hello. I've checked the GitHub repo and the closed issues on GitHub but I can't seem to get the compiler version to work correctly.

I have:

  • run npm install solc in my project (v 0.4.23)
  • uninstalled the extension Solidity Extended
  • reinstalled the extension Solidity
  • added "solidity.compileUsingRemoteVersion" : "latest" to my settings

The compiler is giving me errors on emit and constructor. Using VS Code and Solium.

Sorry if this has been answered a million times before

Juan Blanco
@juanfranblanco
May 11 2018 14:13 UTC
@junocaj ill have a look at that later
@botanki you don't need to install solc at root if you use latest
maybe you have old settings for solium
in your config file?
user settings (sorry)
KarzanBotani
@KarzanBotani
May 11 2018 14:18 UTC

image.png

@juanfranblanco these are my settings

Juan Blanco
@juanfranblanco
May 11 2018 14:34 UTC
hmm that should be fine
have you restarted vscode?
all instances
KarzanBotani
@KarzanBotani
May 11 2018 14:36 UTC
Yes Sir. I've updated VS Code, removed & reinstalled the extension, restarted VS Code
Juan Blanco
@juanfranblanco
May 11 2018 14:37 UTC
that is very strange, eventually it does work if you remove the "extended" extension
KarzanBotani
@KarzanBotani
May 11 2018 14:41 UTC
Yeah I've removed the "extended" extension aswell
Juan Blanco
@juanfranblanco
May 11 2018 14:56 UTC
well i have remove the solidity extension, force update
vs code update (i was actually not in the latest)
put the same settings as your self
and no issues
KarzanBotani
@KarzanBotani
May 11 2018 15:03 UTC
very weird. definitely something on my end then. Thanks for checking it out, Juan. I really appreciate it. Will look over my setup again shortly and get back to you
Juan Blanco
@juanfranblanco
May 11 2018 15:04 UTC
yeah seems like something is left behind
I think I might change the version to a "release" one, that might help with the conflicts
After 2 1/2 years we are ready to pump a version
snowycrypto
@snowycrypto_twitter
May 11 2018 17:47 UTC
Is there a guide/workbook on offline signing a transaction that calls a smart contract function?
I found web3.OfflineTransactionSigning.SignTransaction on this page: https://nethereum.readthedocs.io/en/latest/introduction/web3/
Btw, I got nethereum libraries to work with new Unity 2018 finally :D
Juan Blanco
@juanfranblanco
May 11 2018 20:16 UTC
Ah awesome,