Skip to content
#

Ethereum

ethereum logo

Ethereum is a decentralized platform that runs contract-based applications without any possibility of downtime, censorship, fraud or third-party interference. Ethereum blockchain focuses on running the code of any decentralized application.

Here are 10,689 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

axic
axic commented May 21, 2021

This would increase readability in bigger tests, such as those in semanticTests/externalContracts.

// -- Double reserve
// account: 1
// reserve(string), 69 ether: 0x20, 3, "abc" ->
// owner(string): 0x20, 3, "abc" -> 0x1212121212121212121212121212120000000012
// account: 0
// -- Transfer
// setContent(string,bytes32): 0x40, 0, 3, "abc" ->
// transfer(string,address): 0x40, 555, 3
web3.js
spacesailor24
spacesailor24 commented Jun 3, 2021

Currently the git hook runs pre-commit, and will write the linter changes to the file, meaning the dev's commit is usually successful, but without linter fixes. The dev then has to make a second commit to include linter fixes

Instead, yarn lint:check should run only before a push, and would provide the dev linter errors, so that the hook aborts the push until the linter is satisfied (by runni

JimLynchCodes
JimLynchCodes commented May 18, 2021

Hi, just wondering why there are no tests in the scaffolded project when running truffle init...

Can I make a PR adding this? Where in the main truffle source code should I put this file?

thanks!

VERTlG0
VERTlG0 commented Jul 8, 2017

The cpp-ethereum homepage is not exactly helpful... http://cpp-ethereum.org/ which just takes you to here: http://www.ethdocs.org/en/latest/ethereum-clients/cpp-ethereum/ which only helps with building and installing.. and the only useful link is the "Running" which is only this: "Running eth without any argument will synchronise your node to the public blockchain. It is also possible to create or

Created by Vitalik Buterin

Released July 30, 2015

Organization
ethereum
Website
www.ethereum.org
Wikipedia
Wikipedia

Related Topics

blockchain cryptocurrency