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 12,422 public repositories matching this topic...

benediamond
benediamond commented Nov 21, 2021

Original title: "unusual behavior with mapping within struct within library".

Description

When a library contains a struct type whose only member is a mapping, and a contract contains a public member of that struct type, then compilation fails with error Internal or recursive type is not allowed for public state variables.. But if you add a further field in the struct (of type `

haltman-at
haltman-at commented Nov 8, 2021

Issue

Vyper handles unmapped instructions differently from Solidity. In Solidity, unmapped instructions are given a file index of -1. When attempting to show the source for such an instruction, we instead just show 1: // No source code found..

However, in Vyper, such instructions are not given a file index of -1, but are given a start and length of 0. So when we show the source for t

Created by Vitalik Buterin

Released July 30, 2015

Organization
ethereum
Website
www.ethereum.org
Wikipedia
Wikipedia

Related Topics

blockchain cryptocurrency