neo-devpack-dotnet
neo-devpack-dotnet copied to clipboard
Expose policy governance APIs
Summary
- expose missing Policy governance setters/getters and role designation helpers to smart contracts
- add managed transaction attribute wrappers so contracts can inspect native attributes
- update testing harness artifacts and unit tests to cover the new governance APIs
Testing
- dotnet test tests/Neo.SmartContract.Framework.UnitTests/Neo.SmartContract.Framework.UnitTests.csproj --filter NativeTest
Rebased on the latest dev, resolved conflicts, and trimmed the branch so it now only exposes the policy/role governance APIs. Added native Policy setters/getters, RoleManagement.DesignateAsRole, TransactionAttribute wrappers, and refreshed the unit tests. NativeTest suite passes (dotnet test ... --filter NativeTest).
Why?
I don't see any point in integrating these APIs into the SDK. No contract will need to call these APIs.