Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Hotfix: check weight on predispatch #5

Merged

Conversation

dnjscksdn98
Copy link
Member

Hotfixes

  • dispatch 이전에 extrinsic의 weight와 length 검증을 통해 전체 block weight 기준으로 블록에 포함을 시킬수 있는지 체크하는 로직 추가
  • dispatch 이후에 남은 weight를 재사용할 수 있도록 환급하는 로직 추가

References

@dnjscksdn98 dnjscksdn98 added the bug Working incorrectly label Sep 22, 2022
@dnjscksdn98 dnjscksdn98 self-assigned this Sep 22, 2022
@dnjscksdn98 dnjscksdn98 merged commit f5bb6f9 into bifrost-frontier-v1.0.1 Sep 22, 2022
@dnjscksdn98 dnjscksdn98 deleted the hotfix/check-weight-on-predispatch branch September 22, 2022 01:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Working incorrectly
Development

Successfully merging this pull request may close these issues.

1 participant