Timeline for How can I demonstrate attacks on Quorum-based smart contracts in my local test network?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 11, 2021 at 9:17 | comment | added | Vijay Michalik | I am not aware of any standard tooling that will enable this - since the logic is at the client level you would have to modify the Go code that currently synchronises the system time with NTP, not just the smart contract code as per the SWC post. The Geth code in question is referenced here. You might be able to set up a local NTP server to effectively manipulate the recorded time. | |
May 11, 2021 at 9:03 | comment | added | Cheyenne Slager | Thanks for helping out. I indeed also found the sources you mention and was planning on using RAFT to demonstrate time manipulation. However, my question that still remains is: how can I control a node (in this case the leader) in order to make it return a specific time? Are there any tools or libraries available which enable you to enforce certain behavior upon specific nodes in the network? So far, I've looked at Truffle Suite and Hardhat, although I am not yet sure if these offer the functionality that I'm looking for. | |
May 10, 2021 at 17:07 | review | First posts | |||
May 11, 2021 at 10:40 | |||||
May 10, 2021 at 17:02 | comment | added | Vijay Michalik | Please also check out ConsenSys' Smart Contract Best Practices here for more detail on other attacks: consensys.github.io/smart-contract-best-practices | |
May 10, 2021 at 17:01 | history | answered | Vijay Michalik | CC BY-SA 4.0 |