AstarNetwork / astar-frame

Core frame modules for Astar & Shiden network.
Other
58 stars 38 forks source link

Change function modifier for ReadStakedAmountOnContract #50

Closed Maar-io closed 2 years ago

Maar-io commented 2 years ago

Pull Request Summary

When dapps-staking precompile ReadStakedAmountOnContract is called from other contract it fails with: (-32603) VM Exception while processing transaction: revert (can't call non-static function in static context) This is due to wrong function modifier for recently added ReadStakedAmountOnContract

Check list

This pull request makes the following changes:

Adds

Fixes

Changes

To-dos

*Feel free to remove this section if it's not applicable