From 671fb91ab0e42c7e022e1c2a7d65f06117c5e517 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Wed, 27 Nov 2024 15:39:19 -0600 Subject: [PATCH] chore: regen snapshots with parsed feedPolicy etc. --- .../fast-usdc/snapshots/fast-usdc.test.ts.md | 24 +++++++++++++++--- .../snapshots/fast-usdc.test.ts.snap | Bin 1010 -> 1093 bytes 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md index 08400eda5f5..0c39f6dffb8 100644 --- a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md +++ b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.md @@ -14,7 +14,18 @@ Generated by [AVA](https://avajs.dev). [ [ 'published.fastUsdc.feedPolicy', - '{"blockHeight":"0","values":["{\\"chainPolicies\\":{\\"Arbitrum\\":{\\"cctpTokenMessengerAddress\\":\\"0x19330d10D9Cc8751218eaf51E8885D058642E08A\\",\\"chainId\\":42161,\\"confirmations\\":2,\\"nobleContractAddress\\":\\"0x19330d10D9Cc8751218eaf51E8885D058642E08A\\"}},\\"nobleAgoricChannelId\\":\\"channel-21\\",\\"nobleDomainId\\":4}"]}', + { + chainPolicies: { + Arbitrum: { + cctpTokenMessengerAddress: '0x19330d10D9Cc8751218eaf51E8885D058642E08A', + chainId: 42161, + confirmations: 2, + nobleContractAddress: '0x19330d10D9Cc8751218eaf51E8885D058642E08A', + }, + }, + nobleAgoricChannelId: 'channel-21', + nobleDomainId: 4, + }, ], ] @@ -28,7 +39,12 @@ Generated by [AVA](https://avajs.dev). [ [ 'published.fastUsdc.feeConfig', - '{"blockHeight":"0","values":["{\\"body\\":\\"#{\\\\\\"contractRate\\\\\\":{\\\\\\"denominator\\\\\\":{\\\\\\"brand\\\\\\":\\\\\\"$0.Alleged: USDC brand\\\\\\",\\\\\\"value\\\\\\":\\\\\\"+10\\\\\\"},\\\\\\"numerator\\\\\\":{\\\\\\"brand\\\\\\":\\\\\\"$0\\\\\\",\\\\\\"value\\\\\\":\\\\\\"+2\\\\\\"}},\\\\\\"flat\\\\\\":{\\\\\\"brand\\\\\\":\\\\\\"$0\\\\\\",\\\\\\"value\\\\\\":\\\\\\"+10000\\\\\\"},\\\\\\"maxVariable\\\\\\":{\\\\\\"brand\\\\\\":\\\\\\"$0\\\\\\",\\\\\\"value\\\\\\":\\\\\\"+5000000\\\\\\"},\\\\\\"variableRate\\\\\\":{\\\\\\"denominator\\\\\\":{\\\\\\"brand\\\\\\":\\\\\\"$0\\\\\\",\\\\\\"value\\\\\\":\\\\\\"+100\\\\\\"},\\\\\\"numerator\\\\\\":{\\\\\\"brand\\\\\\":\\\\\\"$0\\\\\\",\\\\\\"value\\\\\\":\\\\\\"+1\\\\\\"}}}\\",\\"slots\\":[\\"board01029\\"]}"]}', + { + body: '#{"contractRate":{"denominator":{"brand":"$0.Alleged: USDC brand","value":"+10"},"numerator":{"brand":"$0","value":"+2"}},"flat":{"brand":"$0","value":"+10000"},"maxVariable":{"brand":"$0","value":"+5000000"},"variableRate":{"denominator":{"brand":"$0","value":"+100"},"numerator":{"brand":"$0","value":"+1"}}}', + slots: [ + 'board01029', + ], + }, ], ] @@ -42,10 +58,10 @@ Generated by [AVA](https://avajs.dev). [ [ 'published.fastUsdc.status.0xc81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761702', - '{"blockHeight":"0","values":["OBSERVED"]}', + 'OBSERVED', ], [ 'published.fastUsdc.status.0xd81bc6105b60a234c7c50ac17816ebcd5561d366df8bf3be59ff387552761799', - '{"blockHeight":"0","values":["OBSERVED"]}', + 'OBSERVED', ], ] diff --git a/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.snap b/packages/boot/test/fast-usdc/snapshots/fast-usdc.test.ts.snap index 2a1d52ca9c2583ea874af629b23823841ca7e292..db495c77ac6a765f3e4b0e7c3903b635d9bd5258 100644 GIT bin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