Giter VIP home page Giter VIP logo

bridge-message-predicates's People

Contributors

k1-r1 avatar luizstacio avatar pixelcircuits avatar voxelot 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

Watchers

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

bridge-message-predicates's Issues

Update message to contract predicate with new message retry spec

The latest fuel spec now allows for messages to be natively retryable from the protocol level. This means the predicate no longer needs to check for the correct inputs/outputs or a gas minimum. It only needs to check the inclusion of a specific transaction script (one that calls "process_message" on the target contract)

Update to latest sway

There are a few breaking changes in the latest fuel core release that require a recompile of all code using the latest forc.

Investigate broken tests

Tests are currently broken which I think has to do with the latest fuel-core release. Get the tests working and added back to the CI

Add more tests

We need to add tests for the negative cases as well as the positive cases.

Add explicit check that the OutputChange is for the base asset

There is currently no way to get the asset ID of a change output through the GTF opcode. Although the security of the predicate is still guaranteed due to only input coins of the base asset being allowed and other change or coin outputs are not allowed, it would still be a good idea to add an explicit check.

Investigate adding this check as soon as work begins on adding to the GTF opcode: FuelLabs/fuel-specs#402

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.