Add ability to emit messages for system level events (specifically URef creation) using the new messages capability

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
blockchain

調査の方向性

まず、既存のコントラクトレベルのメッセージ機能を読み、実行後にSSE上でメッセージがどのように報告されるかを追跡します。URefsが作成されるシステムレベルのパスを特定し、URefの作成によってリソース監査に必要な情報を含むメッセージが生成されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

The contract level messages feature allows contract to generate custom events that get reported on the SSE after the contract executes on chain. Currently we don’t emit any types of messages when system level events happen (e.g. when an account is created, when access rights are changed, when a URef is created or granted etc). We can use the functionality created for contract level messages to also emit system level messages. Specifically we initially want to emit messages when an URef is created in order to aid future audits regarding resources accessible through URefs.

主要言語
Rust
スター
394
フォーク
222
平均マージ
2日 19時間
マージ済み PR(30日)
2

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

casper-network/casper-node のほかの issue

casper-network/casper-node の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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