graphprotocol / graphprotocol/graph-node
Reading Private Data from Contract
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 3.2k
- フォーク
- 1.1k
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 1
説明
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
its not implemented
What is the expected behavior?
with the web3 js library i can call web3.storageAt(contractaddress, index) to retrieve even private declared constants.
this is at this point not possible with AssemblyScript mappings API
example: https://github.com/emptysetsquad/dollar/blob/master/protocol/contracts/Constants.sol#L75
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されている web3.js storageAt の動作と AssemblyScript mappings API を比較します。リンク先の Constants.sol の例を調べて、private constant へのアクセスのケースを理解します。mappings API で要求された contract storage の値を取得でき、web3.js の例に対して動作が検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, solidity
- 領域
- backend-api-design, blockchain
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100