Skip to content
#

solidity

Here are 4,647 public repositories matching this topic...

shrugs
shrugs commented Apr 12, 2018

🎉 Description

The ECDSA contract has a function toEthSignedMessage(bytes32), but we should have a function that works for any length of a bytes array:

function toEthSignedMessage(bytes s) pure internal returns (bytes32) {
  return keccak256(
    "\x19Ethereum Signed Message:\n",
    uintToBytes(s.length),
    s);
}

Where uintToBytes is implemented from an ideally

chainlink
ThePiGuy
ThePiGuy commented Mar 3, 2021

Description
I run: cd ~/.chainlink && docker run -p 6688:6688 -v ~/.chainlink:/chainlink -it --env-file=.env smartcontract/chainlink:0.10.1 local n

I get the following result:

2021-03-03T06:45:52Z [DEBUG] Unlocked OCR key                                   offchainreporting/keystore.go:72
2021-03-03T06:45:52Z [INFO]  API exposed for user xxx@xxxx.com            cmd/local_client.go
montyly
montyly commented Mar 4, 2021

Create a tool for debugging hardhat project that

  • Add console.log at every function/modifier entry point, with the canonical name of the function, and the function parameters
  • Add console.log at every end of the function/modifier, with the canonical name of the function, and the return values

Potential flags

  • --only contract/function
  • --exclude contract/function
  • `--force-patc

Improve this page

Add a description, image, and links to the solidity topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the solidity topic, visit your repo's landing page and select "manage topics."

Learn more