Skip to content

Conversation

@CiottiGiorgio
Copy link

No description provided.

# Conflicts:
#	smart_contracts/artifacts/base_d_asa/BaseDAsa.approval.puya.map
#	smart_contracts/artifacts/base_d_asa/BaseDAsa.approval.teal
#	smart_contracts/artifacts/base_d_asa/BaseDAsa.arc32.json
#	smart_contracts/artifacts/base_d_asa/base_d_asa_client.py
#	smart_contracts/artifacts/fixed_coupon_bond/FixedCouponBond.approval.puya.map
#	smart_contracts/artifacts/fixed_coupon_bond/FixedCouponBond.approval.teal
#	smart_contracts/artifacts/fixed_coupon_bond/FixedCouponBond.arc32.json
#	smart_contracts/artifacts/fixed_coupon_bond/fixed_coupon_bond_client.py
#	smart_contracts/artifacts/perpetual_bond/PerpetualBond.approval.puya.map
#	smart_contracts/artifacts/perpetual_bond/PerpetualBond.approval.teal
#	smart_contracts/artifacts/perpetual_bond/PerpetualBond.arc32.json
#	smart_contracts/artifacts/perpetual_bond/perpetual_bond_client.py
#	smart_contracts/artifacts/zero_coupon_bond/ZeroCouponBond.approval.puya.map
#	smart_contracts/artifacts/zero_coupon_bond/ZeroCouponBond.approval.teal
#	smart_contracts/artifacts/zero_coupon_bond/ZeroCouponBond.arc32.json
#	smart_contracts/artifacts/zero_coupon_bond/zero_coupon_bond_client.py
#	smart_contracts/base_d_asa/contract.py
Copy link
Owner

@cusma cusma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proposed abstraction is good.

I think a couple of things are missing in the PR:

  • The RBAC contract should contain the assign_role and revoke_role methods;
  • The RBAC contract should have its own unit tests;
  • The RBAC must be included in the d-asa-ci workflow (both contract and test diff filter and related conditional step).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This class should contain also the assign_role and revoke_role methods.

@cusma cusma added enhancement New feature or request external contribution External contributions welcome ci-cd CI/CD pipeline and automations labels Jan 22, 2025
@CiottiGiorgio CiottiGiorgio marked this pull request as draft January 31, 2025 10:21
@cusma cusma added the tests Improving tests label Jan 31, 2025
@cusma cusma closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd CI/CD pipeline and automations enhancement New feature or request external contribution External contributions welcome tests Improving tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants