The Wayback Machine - https://web.archive.org/web/20210921045513/https://github.com/topics/ethereum
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 11,692 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

nventuro
nventuro commented Sep 16, 2021

When compiling the following contract with solc v0.8.7:

pragma solidity ^0.8.0;

contract Test {
    struct MyStruct {
        uint256 a;
    }
    
    function foo(MyStruct storage bar) public;
}

we get the following error message:

TypeError: Data location must be "memory" or "calldata" for parameter in function, but "storage" was given.
    function foo(MyStruct
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

scaffold-eth
QEDK
QEDK commented Sep 17, 2021

Describe the bug
ENS names that start with 0x show up as addresses instead.

To Reproduce
Steps to reproduce the behavior:

  1. Get an ENS starting with 0x 😬
  2. Address will not display with ENS in most places

Expected behavior
It should show up as the ENS name.

Screenshots
<img width="1024" alt="Screenshot 2021-09-18 at 12 49 14 AM" src="https://user-images.github

Created by Vitalik Buterin

Released July 30, 2015

Organization
ethereum
Website
www.ethereum.org
Wikipedia
Wikipedia

Related Topics

blockchain cryptocurrency