Skip to content

@odatano/nightgate 0.37.2

Choose a tag to compare

@maxalexweber1 maxalexweber1 released this 27 Oct 18:07
· 11 commits to main since this release
1069afd

NIGHTGATE 0.37.2

Circuits sponsored per contract, set in the policy file. No schema change, no circuit change.

  • Policy file contractCircuits: contract address to "*" or a circuit list; replaces allowedCircuits for calls on that contract; the contract counts as allowed.
  • Grant allowedCircuits narrows every rule; a grant list that only a rule names is accepted and reaches the ruled contracts only.
  • Admin getSponsorPolicy: floor.contractCircuits and effective.contractCircuits (contract, allCircuits, circuits).
  • The refusal of a circuit outside the rules names the contract.

Full Changelog: v0.37.1...v0.37.2