casper-network / casper-network/casper-node

Extend the contract API with a `verify_entry_points` function

Open
#3,005 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

Ticket to address the below requirement;

- The user passes in an EntryPoints struct and a hash of the contract to interrogate, and receives a boolean indicating whether a subset of entry points matches the entry points supplied by the user (structurally - so, comparing names, signatures, etc.).
- Return should be a list of boolean corresponding to each EntryPoint in the EntryPoints in order
- Possible variant: all entry points have to match.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the contract API and the EntryPoints struct, then trace how a contract hash is interrogated. Clarify whether the function returns one boolean or an ordered list of booleans, and whether the all-entry-points variant is required. Done means the API behavior and matching rules are specified and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.