Giter Club home page Giter Club logo

Comments (9)

klkvr avatar klkvr commented on June 5, 2024 2

@PatrickAlphaC "0x60a88060093d393df3602035335f540114156100a457" is interpreted as a string

to save hex bytes to bytecode, change it to bytecode = hex"60a88060093d393df3602035335f540114156100a457";

on my machine this change fixes the issue

from foundry.

klkvr avatar klkvr commented on June 5, 2024

@mattsse The CREATE failure reason coming from revm is InvalidOperandOOG, will look into when it might happen, but wondering if you might have a guess?

from foundry.

klkvr avatar klkvr commented on June 5, 2024

this line:
https://github.com/bluealloy/revm/blob/1d5faf0c847a6bc8c09ee5a5a6fb013504309f91/crates/interpreter/src/instructions/system.rs#L85

from foundry.

PatrickAlphaC avatar PatrickAlphaC commented on June 5, 2024

That solved it!

from foundry.

PatrickAlphaC avatar PatrickAlphaC commented on June 5, 2024

Closed... but I'm wondering if I should have?

from foundry.

derekbar90 avatar derekbar90 commented on June 5, 2024

@PatrickAlphaC Seeing this the past few days when running some calls against Telos, thanks for reporting.

from foundry.

prajwalghate avatar prajwalghate commented on June 5, 2024

@PatrickAlphaC Seeing this the past few days when running some calls against Telos, thanks for reporting.

Same here while using foundry with telos.
Happening with both test and script.
You found any solution?

from foundry.

klkvr avatar klkvr commented on June 5, 2024

@derekbar90 @prajwalghate could you please provide a repro we could use?

from foundry.

prajwalghate avatar prajwalghate commented on June 5, 2024

hex

Hey @klkvr
I created a repo solely to check if the problem persist.
Getting the InvalidOperandOOG error.

Here is the repo telos-foundry-repo
Running this command
forge script script/PendingRewards.s.sol:PendingRewards --rpc-url https://mainnet.telos.net/evm -vvvv

from foundry.

Related Issues (20)

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.