Skip to content

Commit

Permalink
Add a TODO about gassing principals
Browse files Browse the repository at this point in the history
  • Loading branch information
0xd34df00d committed Oct 20, 2023
1 parent 7f2f6d7 commit f90b604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pact-core/Pact/Core/IR/Eval/RawBuiltin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1419,6 +1419,7 @@ coreCompose = \info b cont handler _env -> \case
coreCreatePrincipal :: (IsBuiltin b, MonadEval b i m) => NativeFunction b i m
coreCreatePrincipal info b cont handler _env = \case
[VGuard g] -> do
-- TODO make gas charging actually go through the model
chargeGas coreGasPerLegacyGas
case g of
GKeyset (KeySet ks pf) -> case (toList ks, predicateToString pf) of
Expand Down

0 comments on commit f90b604

Please sign in to comment.