graphprotocol / graphprotocol/graph-node

Reading Private Data from Contract

オープン
#2,102 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

chains/ethereum enhancement
主要言語
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。