2023.07.24
github-actions
released this
17 Jul 16:12
·
29 commits
to main
since this release
Summary
Git Hash: e9a789189425bb70e7bf6bf0efa1dfa4a3e180f9
Compressed WASM Hash: 513bd326c827881278810c09327573a95aac84976a9a97c769847179223ffc27
Target Canister: uf6dk-hyaaa-aaaaq-qaaaq-cai
Features
- The pricing has been updated in accordance with the new price function of HTTPS outcalls. In short, the number of cycles that need to be attached and the number of cycles charged have been reduced by a factor of 10!
- The exchange rate canister now supports variable decimals. That is, the decimals field in the returned exchange rate metadata may deviate from the default value 9 to represent very small or large exchange rates.
- Since all rates are represented as integers, the standard deviation in the metadata is now computed using an integer square-root function to minimize the use of floating-point operations.
- The exchange rate canister now supports the upcoming
dfx deps
feature, which will make it possible to easily install canisters locally. - Several new end-to-end tests have been added to test the canister’s behavior in various scenarios.
Commit Log
$ git checkout e9a789189425bb70e7bf6bf0efa1dfa4a3e180f9
$ git log --format="%C(auto) %h %s" aff48f88ea2f26bb16dea1d644636dc00197c942..e9a789189425bb70e7bf6bf0efa1dfa4a3e180f9 -- ./src/xrc
e9a7891 `chore`: Update Coinbase max response bytes (#236)
c55e2f5 Update cycle pricing (#232)
bfb1f74 Removing floating-point square-root operations (#230)
cd127b1 fix(stddev): Update standard deviation to account for overflow (#229)
e6030c9 feat: Enabling variable decimals (#222)
2b82623 feat: Mock forex and stablecoin responses (#221)
ef51b10 chore: Update rust version to 1.69.0 (#215)
Verify the WASM hash of the canister
$ export IP_SUPPORT=ipv4
$ ./scripts/docker-build
$ sha256sum xrc.wasm.gz
Expected output
513bd326c827881278810c09327573a95aac84976a9a97c769847179223ffc27 xrc.wasm.gz