Skip to content
#

Solidity

solidity logo

Solidity is a statically-typed curly-braces programming language designed for developing smart contracts that run on various blockchain platforms, most notably, Ethereum. The Solidity programming language is an open source, community project governed by a core team. The core team is sponsored by the Ethereum Foundation. The programs compiled by the Solidity are intended to be run on Ethereum Virtual Machine.

Here are 6,251 public repositories matching this topic...

axic
axic commented Nov 8, 2021

There is the test/libsolidity/SolidityEndToEndTest.cpp file, which contains a lot of semantic tests. It is a large monolithic single C++ file, which takes a long time to compile and is hard to maintain.

We want to move as many test cases out to individual files under test/libsolidity/semanticTests. They should be grouped logically, by following the grouping in SolidityEndToEnd.

Have a

haltman-at
haltman-at commented Nov 8, 2021

Issue

Suppose you have a migrations file, but no actual migrations occur in it. When you run truffle migrate, the total cost is printed as 0 undefined, rather than 0 wei or 0 ether or just 0.

Steps to Reproduce

Create a new Truffle project, edit 1_initial_migrations.js by removing the deployer.deploy line, then try migrating your project.

Expected Behavior

Th

chainlink
0xfoobar
0xfoobar commented May 20, 2021

Description
Add a contract similar to Aave's AddressProvider or Uniswap's getPair() functionality.

Motivation
On-chain lookups of price oracles given the asset addresses.

Justification
String manipulation is difficult and expensive in Solidity, and you usually work with the token address, not its string name.

wolflo
wolflo commented Jul 28, 2021

Testing methods like evm_mine and evm_increaseTime expect integer parameters. Unlike other methods, they reject these parameters if they are not decimal-encoded.

To reproduce

npx hardhat --version -> 2.5.0

Run npx hardhat node and make the following rpc calls:

> curl -H "Content-Type: application/json" -X POST --data \
        '{"id":1337,"jsonrpc":"2.0","method":"evm
krzkaczor
krzkaczor commented Sep 26, 2021

We should add explicit runtime errors that stop CLI execution when an obvious version mismatch is detected. No one (me neither) checks peer dependency-related errors from a package manager.

TC should bail if:

  • ether target has detected too low ethers version detected
  • tc core package is too low to support given target package

Each target package should be able to define custom conditions

brownie

Created by Gavin Wood, Christian Reitwiessner, Alex Beregszaszi

Released August 2015

Latest release 2 days ago

Repository
ethereum/solidity
Website
soliditylang.org
Wikipedia
Wikipedia

Related Topics

blockchain cpp ethereum language smartcontracts