Fixed
- Bound the Candid decoding of canister method arguments in
construction/parseandconstruction/submit(#12108). construction/payloadsnow addresses neuron management to the governance canister this instance was configured with (--governance-canister-id), asconstruction/derivealready did, instead of always to the mainnet one (#12294).- Require the envelopes of a signed transaction to differ only in their ingress expiry, and each of them to pair an update with the read-state call that reads that update's own result.
construction/submitalso refuses a transaction, before submitting any of it, if the IC would reject the read-state call of any of its unexpired envelopes; of a read-state call that carries a delegation or uses a canister signature, only that its sender is derived from its public key is checked, and its signature and any delegation chain are left to the IC, so that no transaction the IC accepts is refused. Of the envelopes valid at submission,construction/submitnow sends the one that expires last, so that its read-state call stays valid while it polls for the result.construction/parse,construction/hashandconstruction/submitdescribed the first envelope while the submit path broadcasts whichever one is currently valid, and a mismatched or rejected read-state call madeconstruction/submitreport a call as failed while it was executing, inviting a retry of a transaction that had already gone through (#12296). - Require a signed transfer to be addressed to the ledger this instance serves, to call its transfer method, and to debit the sender's default account. A transfer drawing on a subaccount was displayed as debiting the default account, and a transfer addressed to another ledger was displayed in this ledger's token (#12297).
- Require the neuron index, controller and command that
construction/parse,construction/hashandconstruction/submitreport for a neuron request to be derivable from, and consistent with, the signed payload. A request whose metadata cannot be confirmed against what is being signed is now rejected rather than described unverified (#12301). construction/hashreturns the neuron management hash for a transaction that refreshes voting power instead of rejecting it (#12301).- Limit the number of requests times ingress expiries in
construction/payloadsandconstruction/combineto 2,880, i.e. 4 requests over a 24h ingress window, and the size of each canister update to 4 KiB, and reject repeated canister updates.construction/combinealso limits the size of signatures and public keys and requires strictly increasing ingress expiries (#12082). - Cap the
limitof/search/transactionsrequests to the maximum of 10,000 transactions per request (#11892). - Bound the cardinality of HTTP metric labels: requests to unknown paths are recorded under a single
UNMATCHEDendpoint label and non-standard HTTP methods under a singleOTHERmethod label (#12084).