go-substrate-rpc-client icon indicating copy to clipboard operation
go-substrate-rpc-client copied to clipboard

The events from pallet scheduler are not complete

Open brandonpille opened this issue 1 year ago • 2 comments

The events defined in the struct https://github.com/centrifuge/go-substrate-rpc-client/blob/015965cf2e670ceb9b87ae40a8ddfe7ee8114a8f/types/event_record.go#L65 are not in line with the one from substrate: https://github.com/paritytech/substrate/blob/e92613d9a4f4e85b57a2dd891765c407f0ad2549/frame/scheduler/src/lib.rs#LL257C3-L257C3

These are missing:

  • CallUnavailable
  • PeriodicFailed
  • PermanentlyOverweight

I noticed the ones from Utility are also incomplete. These are missing:

	Utility_BatchCompletedWithErrors []EventBatchCompletedWithErrors       `test-gen-blockchain:"centrifuge-parachain"`
	Utility_ItemFailed               []EventItemFailed                     `test-gen-blockchain:"centrifuge-parachain"`
	Utility_DispatchedAs             []EventDispatchedAs                   `test-gen-blockchain:"centrifuge-parachain"`

brandonpille avatar May 10 '23 08:05 brandonpille