|
| 1 | +# Proposal to upgrade the SOL RPC canister |
| 2 | + |
| 3 | +Repository: `https://github.com/dfinity/sol-rpc-canister.git` |
| 4 | + |
| 5 | +Git hash: `77e4d2fa2da424d5538e624ff2fdf6cb33b55447` |
| 6 | + |
| 7 | +New compressed Wasm hash: `b51932ccb340013beddd506d9326edc277b64f951593be80a169cce63aa511e6` |
| 8 | + |
| 9 | +Upgrade args hash: `e04af557f2ed69b3396cb58bf6623e7fb645a275385f68e90cd880169a328b41` |
| 10 | + |
| 11 | +Target canister: `tghme-zyaaa-aaaar-qarca-cai` |
| 12 | + |
| 13 | +Previous SOL RPC proposal: https://dashboard.internetcomputer.org/proposal/136985 |
| 14 | + |
| 15 | +--- |
| 16 | + |
| 17 | +## Motivation |
| 18 | + |
| 19 | +Upgrade the SOL RPC canister to the latest version [v1.1.0](https://github.com/dfinity/sol-rpc-canister/releases/tag/sol_rpc_canister-v1.1.0), |
| 20 | +which includes in particular the following changes: |
| 21 | +* Add more metrics. |
| 22 | +* Require HTTP outcall base fee for update calls. |
| 23 | +* Select supported providers based on successful responses. |
| 24 | + |
| 25 | +See the Gihub release [v1.1.0](https://github.com/dfinity/sol-rpc-canister/releases/tag/sol_rpc_canister-v1.1.0) for more details. |
| 26 | + |
| 27 | +## Release Notes |
| 28 | + |
| 29 | +``` |
| 30 | +git log --format='%C(auto) %h %s' e3e416aea9292deaa1a757537bfef76948890eb6..77e4d2fa2da424d5538e624ff2fdf6cb33b55447 -- |
| 31 | +77e4d2f chore: release (#201) |
| 32 | +ddc1212 docs: remove warning in top-level README (#199) |
| 33 | +3cae012 chore: do not record metrics for requests with insufficient cycles (#184) |
| 34 | +4d142a5 refactor: require HTTP outcall base fee (#185) |
| 35 | +7483ab1 build: update dependencies (#196) |
| 36 | +b9725ec feat!: add `try_send` method to SOL RPC client (#187) |
| 37 | +7ed9669 docs: improvements to SOL RPC docs (#158) |
| 38 | +8e004fd fix: remove unneeded `rename` annotations (#186) |
| 39 | +715f278 feat: Select supported providers based on successful responses (#183) |
| 40 | +2c7d70b build: update dependencies (#182) |
| 41 | +5511e7e build: release with multi-tags (#174) |
| 42 | +5ac94de chore: add optional `cost_units` to `TransactionStatusMeta` (#180) |
| 43 | +1c3bc56 chore: add more metrics (#144) |
| 44 | +10577e6 chore: add `Custom` Solana network to `basic_solana` canister (#171) |
| 45 | +b30ad3e docs: add deployment instructions (#173) |
| 46 | +ff0f747 chore: revert `sol_rpc_client` bump (#178) |
| 47 | +6b8e60c build: migrate dependencies to `solana-sdk` repository (#55) |
| 48 | +72473a7 docs: improve docs for `InstallArgs` (#172) |
| 49 | +07c1fc2 docs: add build requirements to READMEs and rustdoc (#169) |
| 50 | +9cee54b docs: more links (#168) |
| 51 | +3fd4f82 chore: bump `sol_rpc_client` to `v1.0.1` (#164) |
| 52 | +d5e9a2a docs: enable `ed25519` feature in docs (#162) |
| 53 | +0a084f4 docs: improve `basic_solana` Candid documentation (#161) |
| 54 | +83ab43d fix: use correct fee for t-sig with local development key (#160) |
| 55 | +bcd3231 chore: use build script for `basic_solana` deployment (#156) |
| 56 | +a26fe79 build: add `Cargo.toml` linting to CI pipeline (#155) |
| 57 | +bc13db6 test: add `basic_solana` deployment tests (#150) |
| 58 | +2ff16bf fix: change `nat16` to `nat32` in examples (#151) |
| 59 | +a791239 docs: add support for running `basic_solana` locally and on mainnet (#91) |
| 60 | +293ed01 test: integration test for fetching metrics (#143) |
| 61 | +eb4e630 chore: install SOL RPC canister at v1.0.0 (#148) |
| 62 | + ``` |
| 63 | + |
| 64 | +## Upgrade args |
| 65 | + |
| 66 | +``` |
| 67 | +git fetch |
| 68 | +git checkout 77e4d2fa2da424d5538e624ff2fdf6cb33b55447 |
| 69 | +didc encode -d canister/sol_rpc_canister.did -t '(InstallArgs)' '(record {})' | xxd -r -p | sha256sum |
| 70 | +``` |
| 71 | + |
| 72 | +## Wasm Verification |
| 73 | + |
| 74 | +Verify that the hash of the gzipped WASM matches the proposed hash. |
| 75 | + |
| 76 | +``` |
| 77 | +git fetch |
| 78 | +git checkout 77e4d2fa2da424d5538e624ff2fdf6cb33b55447 |
| 79 | +"./scripts/docker-build" |
| 80 | +sha256sum ./wasms/sol_rpc_canister.wasm.gz |
| 81 | +``` |
0 commit comments