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 9,999 public repositories matching this topic...

haltman-at
haltman-at commented Apr 28, 2022

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 "¡¡
benjamincburns
benjamincburns commented May 5, 2022

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.

chainlink
dbeal-eth
dbeal-eth commented Jan 26, 2022

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

good first issue type:feature
jameswenzel
jameswenzel commented May 21, 2022

Component

Forge

Describe the feature you would like

In certain circumstances, it would be very helpful if Forge tests could read pre-configured variables (either from foundry.toml or sourced from the bash environment) for conditional/context-specific logic, without the need to use the potentially unsafe vm.ffi cheatcode.

Additional context

The Seaport test suite [uses `vm.ff

good first issue T-feature Cmd-forge-test C-forge
brownie
AoDev
AoDev commented Jun 1, 2021

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

enhancement Good First Issue

FISCO BCOS是由微众牵头的金链盟主导研发、对外开源、安全可控的企业级金融区块链底层技术平台。 单链配置下,性能TPS可达万级。提供群组架构、并行计算、分布式存储、可插拔的共识机制、隐私保护算法、支持全链路国密算法等诸多特性。 经过多个机构、多个应用,长时间在生产环境中的实践检验,具备金融级的高性能、高可用性及高安全性。FISCO BCOS is a secure and reliable financial-grade open-source blockchain platform. The platform provides rich features including group architecture, cross-chain communication protocols, pluggable consensus mechanisms, privacy protection algorithms, OSCCA-approved (Office of State Commercial Cryptography Administration) cryptography algorithms, and distributed storage. Its performance, usability, and security have been testified by many institutional users and successful business applications in a live production environment.

  • Updated May 24, 2022
  • C++

Created by Gavin Wood, Christian Reitwiessner, Alex Beregszaszi

Released August 2015

Latest release 7 days ago

Repository
ethereum/solidity
Website
soliditylang.org
Wikipedia
Wikipedia

Related Topics

blockchain cpp ethereum language smartcontracts