Git Product home page Git Product logo

neon-evm's People

Contributors

00nktk avatar afalaleev avatar andreisilviudragnea avatar anton-lisanin avatar boogvar avatar deniskore avatar denommus avatar dependabot[bot] avatar dk-neon avatar faramozzayw avatar gigimon avatar ivandzen avatar jackcmay avatar joncinque avatar kristinanikolaevaa avatar mich-master avatar mvines avatar otselnik avatar polachok avatar raventid avatar rozhkovdmitrii avatar s-medvedev avatar sinev-valentine avatar soft-bagel-93 avatar stanislav-tkach avatar vakond avatar valiksinev avatar vasiliy-zaznobin avatar vodolaz avatar yaroslavnekryach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neon-evm's Issues

Optimize save/restore after internal deploy

factory.createPair(tokenA, tokenB) consumes too much instructions due to:

  • non optimal contract code serialization in the serde
  • inefficient serialization of the H160, H256, U256
  • valids.rs

Implement logging in rust-evm

It is useful to add logs to the rust-evm implementation to speed up debugging in some cases. However, the logging mechanism is not available there, since this code is used as a library. It is necessary to work out the logging scheme to add debug logs simply. It is worth considering that these logs can be disabled during the build, and this library is also used in two projects (evm-loader, neon-cli) that perform logging in different ways.

┆Issue is synchronized with this Jira Task by Unito

neon-cli deploy doesn't work with `confirmed` commitment

Symptom: neon-cli fails when try to deploy Ethereum contract with confirmed commitment

STR:

  1. Deploy evm_loader and save it address in EVM_LOADER variable
  2. Deploy Ethereum contract using
neon-cli deploy --evm_loader $EVM_LOADER --commitment confirmed -vvv <contract>

Actual result:
Fails with error:

ERROR - RPC response error -32002: Transaction simulation failed: Blockhash not found

Expected result:
Successful deployment, awaiting only one confirmation

┆Issue is synchronized with this Jira Task by Unito

erc20_test periodically fails on CI

Symptom: CI failed due test_erc20.

STR: On some CI checks.

Actual result:

test_deposit (test_erc20.ERC20test) ... skipped 'not for CI'
token: zNjCu93ddY8JDDDQMCKSrTnueHns4CHiZiQpig7DxKf
 
/bin/sh: 2: --owner: not found
ERR: spl-token error Command 'spl-token --url http://solana:8899 create-account zNjCu93ddY8JDDDQMCKSrTnueHns4CHiZiQpig7DxKf
 --owner AEdjVti6w7Z9CBR4enmnYkuY919ncoqk2wNZLnPaZ5Q4' returned non-zero exit status 127.
ERROR

Expected result:
test_erc20.deposit works.

Additional info:
Solana's address can be of variable length.
For example:

token: 4YHdWdCbu49uoXMRk2SnUuYrCXkpB2hASoimB7mPw7uR <--- success
token: zNjCu93ddY8JDDDQMCKSrTnueHns4CHiZiQpig7DxKf <--- failed

Problem in https://github.com/neonlabsorg/neon-evm/blob/8b60781e49adcdfcce228768f9459a2450d016b9/evm_loader/ERC20/test/test_erc20.py#L95

Process `value`-field of Ethereum trx

Some contract use funds which passed through value-field of Ethereum transaction. One of this contract it is WETH contract which provides ERC20 interface for native Ethereum token ETH.

estimate gas revert

Sometimes the uniswap-interface gets the error "Estimate gas revert".
The probability of an error increases if queries are formed frequently.
After 2-3 seconds the error disappears

┆Issue is synchronized with this Jira Task by Unito

Revert code copy elimination

Problem: Code copy elimination breaks the behavior of the emulator in unexpected situations. The problem is in the implementation, which assumes a rigid arrangement of data in memory.

Solution: Revert code copy elimination.

Possible impact: Contract will take more heap for execution. In any case, we will be within the limits of the testnet.

Reverted PR: neonlabsorg/evm#15 and neonlabsorg/solana-program-library#212

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.