Solidity
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 9,940 public repositories matching this topic...
Description
Suppose I try to compile the following contract:
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Repro {
function run() public pure returns (string memory) {
return "¡¡¡";
}
}I get the following error message:
ParserError: Invalid character in string.
--> project:/contracts/Repro.sol:6:12:
|
6 | return "¡¡
-
Updated
May 2, 2022 - JavaScript
Feature
Similar to #4461, it would be nice if people could truffle exec typescript without needing to run a compilation step.
Steps to Reproduce
Write a script for truffle exec in TypeScript
Desired Behavior
Truffle would use ts-node to execute said script
Current Behavior
Users must first compile said script, and truffle exec the compilation output.
-
Updated
Apr 11, 2022
-
Updated
May 21, 2022 - CSS
-
Updated
May 19, 2022
-
Updated
Apr 29, 2022 - JavaScript
Description
Change links and references in the docs to run an Ethereum node from parity to openethereum, and change these references in the code too.
Motivation
Currently, docs about running an Ethereum node states that you can use parity-ethereum, but the project is no longer maintained.
There's also lots of comments and b
It is currently not possible to specify the chain ID for a hardhat network invoked with npx hardhat node through any means other than the config file. This means it is impossible to specify the --chain-id argument in the command line, or execute a chain host pragmatically with hre.run('node', { chainId: 100 }).
Please add the chainId parameter to the node command so it is possible to
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
What version of Foundry are you on?
forge 0.2.0 (0e6c8fb 2022-05-21T03:23:31.545158869Z)
What command(s) is the bug in?
forge install
Operating System
Linux
Describe the bug
When doing a forge install, if I have changes added to the index, those changes get co
-
Updated
May 19, 2022 - Python
https://github.com/CarstenNZ/slither-wiki/blob/master/Detector-Documentation.md has a couple of fixes / typos in the detectors description.
We should merge them before the next release
Related crytic/slither#1189
-
Updated
May 5, 2022 - JavaScript
Overview
Currently when I run brownie console, it recompiles all the contracts. Apparently due to some issue which is not identified.
I only want to compile once with brownie compile -all. That's it.
I work on the frontend side, I don't modify the contracts, I just need a local fork and run some scripts.
Currently it's slow as hell
-
Updated
May 19, 2022
I have some contracts using a library structure data storage, compiled using an older version of Solidity, but which throw an error asking me to make a report here.
In the libraryType.sol contract I have something like this:
library PersonLib {
struct Data {
bool isActive;
bytes hashOfData;
string handle;
}
function handle(Data stor-
Updated
May 22, 2022 - HTML
-
Updated
Apr 22, 2022 - Solidity
-
Updated
May 22, 2022 - C++
-
Updated
Feb 9, 2022 - JavaScript
Add an example to load file from a directory along with https://remix-ide.readthedocs.io/en/latest/locations.html#load-one-of-the-default-remix-files
-
Updated
Apr 28, 2022 - TypeScript
-
Updated
Mar 24, 2018 - JavaScript
-
Updated
May 5, 2022 - Go
-
Updated
Jun 11, 2021 - Python
-
Updated
Mar 2, 2021 - JavaScript
-
Updated
May 19, 2022
Created by Gavin Wood, Christian Reitwiessner, Alex Beregszaszi
Released August 2015
Latest release 5 days ago
- Repository
- ethereum/solidity
- Website
- soliditylang.org
- Wikipedia
- Wikipedia
Solidity 0.8.13 marked the production readiness of the Yul IR pipeline. This, amongst other things, helps to alleviate stack too deep errors by allowing the compiler to move items to memory as and when needed.
One requirement of the pipeline is that any assembly sections be memory-safe, such that they only use memory that has been previously allocated either by