Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 05 18:34
    codecov[bot] commented #610
  • Oct 05 18:33
    gumb0 synchronize #610
  • Oct 05 18:33

    gumb0 on rjumps

    Add RJUMP and RJUMPI instructio… (compare)

  • Sep 30 15:22
    codecov[bot] commented #610
  • Sep 30 15:20
    gumb0 synchronize #610
  • Sep 30 15:20

    gumb0 on rjumps

    Add RJUMP and RJUMPI instructio… (compare)

  • Sep 30 14:34
    codecov[bot] commented #610
  • Sep 30 14:30
    gumb0 synchronize #610
  • Sep 30 14:30

    gumb0 on rjumps

    Add RJUMP and RJUMPI instructio… (compare)

  • Sep 17 13:47

    chfast on gh-pages

    Update docs (compare)

  • Sep 17 13:46

    chfast on v10.0.0-alpha.1

    (compare)

  • Sep 17 13:45

    chfast on master

    EVMC 10.0.0-alpha.1 Bump versi… (compare)

  • Sep 10 10:55

    chfast on gh-pages

    Update docs (compare)

  • Sep 10 10:54

    chfast on rename_destination

    (compare)

  • Sep 10 10:54

    chfast on master

    Rename evmc_message::{destinati… Merge pull request #616 from et… (compare)

  • Sep 10 10:54
    chfast closed #616
  • Sep 10 10:54
    chfast commented #616
  • Sep 10 10:52
    chfast commented #413
  • Sep 08 16:09
    codecov[bot] commented #616
  • Sep 08 16:00
    chfast commented #616
Paweł Bylica
@chfast
Too many asynchronous tasks...
Greg Colvin
@gcolvin
@chfast You did report back, on this channel. I just noticed—too many asynchronous tasks ;)
Paweł Bylica
@chfast
Can someone see this documentation change PR? ethereum/evmc#192
ReeceNee
@ReeceNee
A question about the evm in aleth. When I am creating a contract in VM, what should the data and code for? In the Executive::executeCreate() function , the data is set as zero and all input from a trasaction will become the _init which will be the code. But when I deploy a contract, there are some data for the Constructor(), where should this data be place?
    if (!_init.empty())
        m_ext = make_shared<ExtVM>(m_s, m_envInfo, m_sealEngine, m_newAddress, _sender, _origin,
            _endowment, _gasPrice, bytesConstRef(), _init, sha3(_init), m_depth, true, false);
bytesConstRef() is the place for data and _init is the place for code
ReeceNee
@ReeceNee
Sorry maybe I should asked in the aleth channel
oracle3
@oracle3
Why EVMC is no transfer interface?
Paweł Bylica
@chfast

Can someone profile my very small documentation changes about string encoding? https://github.com/ethereum/evmc/pull/228/files

My best reviewer is on holidays.

Paweł Bylica
@chfast
@/all ^
Paweł Bylica
@chfast
@axic what's your opinion about ethereum/evmc#231 for EVMC 6.2?
Alex Beregszaszi
@axic
Sounds good. It is optional on the client side anyway.
oracle3
@oracle3
Alex Beregszaszi
@axic
@chfast when release? :)
Paweł Bylica
@chfast
@/all EVMC 6.2.0 has been released: https://github.com/ethereum/evmc/releases/tag/v6.2.0
ReeceNee
@ReeceNee
Does anyone know why https://ethervm.io has down for several days?
Paweł Bylica
@chfast
It's back again
oracle3
@oracle3
how to compile solidity to wasm?
oracle3
@oracle3
How to Write wasm of C Language in ethereum?
Ed Vergara
@vergaraed
ok, got evmc installed. -- Installing: /usr/local/include/evmc/evmc.h ...
Now can I link to this lib in C and generate smart contracts from a Rest API. Is there a hello world to do something like this?
Paweł Bylica
@chfast
Hi @vergaraed, unfortunately this is not related to any smart contract development.
ReeceNee
@ReeceNee
Is there any functions to export/import state database in aleth?
TamirTian
@TamirTian
Hi guys
How use evmc?
Is geth —vm.emv?
Paweł Bylica
@chfast
Geth does not support in master, but you can use this PR if you really want to: ethereum/go-ethereum#17954
TamirTian
@TamirTian
thx
TamirTian
@TamirTian
Can i use turbo-geth? Do you know availability details of it ? @chfast
Paweł Bylica
@chfast
I think it has experimental support for EVMC
Antoine Toulme
@atoulme
hey folks, using evmc now here. I have questions about the structure of the bytes I need to send in
according to the tests I can send a byte array of messages. Do values have to be separated by zero bytes? In the test input data is always 8 bytes, followed by its size. Am I right to assume input data can be dynamic? If so why not start with its size?
Now the result of the execution - seems to be a buffer of 64 bytes. I see the first int is the result code, then there is a padding, then a long - 8 bytes with gas left. Is that correct?
Where can I learn more? I'd ideally like to create structs around those so I can get higher level functions around execution
Antoine Toulme
@atoulme
same for status code - I'll go unearth the status code values, 0 is success and 1 for failure I guess?
Antoine Toulme
@atoulme

I'm trying to rerun the test here: https://github.com/ethereum/evmc/blob/master/bindings/java/java/src/test/java/org/ethereum/evmc/EvmcTest.java#L74
It seems like it runs all the gas, however, when I try to reproduce, down to sending the same bytes, in the message to the execute method, I have 194788 gas left. I guess I can go check out gas computations (this is with evmone).

Oh... this is because the example vm returns 0 gas, always...

well it works :shrug:
Antoine Toulme
@atoulme
ah, I'd be grateful if I could get a rundown of transaction context. All I have so far is that it's 64 bytes
Antoine Toulme
@atoulme
Would there be a way for me to generate the .so file for java-bindings for Windows, Linux and Mac?
Antoine Toulme
@atoulme
for now I handrolled my own jar, and I include mac and linux binaries along.
Antoine Toulme
@atoulme
@axic I'm here if you feel like talking
strongpower
@strongpower
Hi @chfast , how to convert uint256 to evmc_uint256be?
Paweł Bylica
@chfast
intx::uint256 value;
evmc_uint256be result = intx::be::store<evmc_uint256be>(value);
strongpower
@strongpower
Thank you!
Sergey Ilin
@sergeyi23
Hi! I am trying to use pull request ethereum/go-ethereum#17954 to enable evmc in my geth. I downloaded libaleth-interpreter.so file from the latest release of aleth - https://github.com/ethereum/aleth/releases/tag/v1.8.0. Added argument --vm.evm "./libaleth-interpreter.so” to geth start command. ./libaleth-interpreter.so is in the same location as geth executable. For some reason I keep getting error EVMC loading error: ./libaleth-interpreter.so: cannot open shared object file: No such file or directoryerror. Running on Ubuntu 20.10. Please help.
Paweł Bylica
@chfast
@sergeyi23 Not sure what the issue is, but likely the paths are not correct. Try absolute paths or check to typos.
I also recommend using evmone: https://github.com/ethereum/evmone.
And if your goal is to get better geth performance then the difference is minimal.
Nate River
@jambestwick
there are someting relate ./libaleth-interpreter.so, and need download
t-anyu
@t-anyu

@sergeyi23 Not sure what the issue is, but likely the paths are not correct. Try absolute paths or check to typos.

@chfast I'm facing a performance problem with geth's tracing calls. Do you think evmone will not provide any significant speed-ups? If so, is the main bottle neck the database read speed?

Paweł Bylica
@chfast
@t-anyu This may help, but tracing in evmone is just in PoC phase