Giter VIP home page Giter VIP logo

Comments (8)

josojo avatar josojo commented on August 14, 2024 2

The MockContract allows for all of that without having to write a separate test contract each time.

Maybe like this?
The MockContract facilitates these features without requiring any separate test contracts.

Should we also make the interface we expect to be implemented explicit?

done

from mock-contract.

bh2smith avatar bh2smith commented on August 14, 2024 2

The MockContract facilitates these features without requiring any separate test contracts.

Much better!

from mock-contract.

fleupold avatar fleupold commented on August 14, 2024 1

what is the value of making ANY also a constant?

ANY has to be defined somewhere, otherwise the code wouldn't compile. My suggestion would be to have it some magic value on the smart contract.

from mock-contract.

gitcoinbot avatar gitcoinbot commented on August 14, 2024 1

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.5 ETH (106.07 USD @ $212.14/ETH) attached to it as part of the Gnosis fund.

from mock-contract.

fleupold avatar fleupold commented on August 14, 2024

Looks really good! A few small comments.

The MockContract allows for all of that without having to write a separate test contract each time.

This sentence could be slightly smoother, but I don't have a concrete suggestion either. Maybe @bh2smith ?

After the ANY example, we might want to add that ANY can be a e.g. a constant defined on the smart contract.

Should we also make the interface we expect to be implemented explicit?

function givenPartialCalldataReturn(bytes calldata call, bytes calldata response) external;
...

from mock-contract.

josojo avatar josojo commented on August 14, 2024

After the ANY example, we might want to add that ANY can be a e.g. a constant defined on the smart contract.

what is the value of making ANY also a constant? Probably, I do not understand.

from mock-contract.

gitcoinbot avatar gitcoinbot commented on August 14, 2024

Issue Status: 1. Open 2. Cancelled


Workers have applied to start work.

These users each claimed they can complete the work by 2 years, 4 months ago.
Please review their action plans below:

1) mikehathaway has applied to start work (Funders only: approve worker | reject worker).

I will use Truffle Suite tools to run a local Eth node and rapidly prototype a smart contract that can be used for mocking Gnosis contract interactions. Following completion of a contract that meets basic specifications, I will seek to iteratively improve it.

Learn more on the Gitcoin Issue Details page.

from mock-contract.

gitcoinbot avatar gitcoinbot commented on August 14, 2024

Issue Status: 1. Open 2. Cancelled


The funding of 0.5 ETH (67.09 USD @ $134.18/ETH) attached to this issue has been cancelled by the bounty submitter

from mock-contract.

Related Issues (13)

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.