Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Relay to both POA and ACDC#2895

Merged
isaacsolo merged 1 commit into
mainfrom
is-double-relay
Feb 21, 2023
Merged

Relay to both POA and ACDC#2895
isaacsolo merged 1 commit into
mainfrom
is-double-relay

Conversation

@isaacsolo

@isaacsolo isaacsolo commented Feb 21, 2023

Copy link
Copy Markdown

Description

This config change will allow the client to sign transactions with 2 different entity manager addresses: one for POA and one for ACDC. This is only for prod because stage is already on ACDC.

For now, identity will respond with the POA receipt. For the migration, identity will decide when to switch over to ACDC and respond with the corresponding transaction receipt. This should have no impact on relay latency until migration is complete, then it should be ~2 seconds.

The related libs change: AudiusProject/apps#4508
Identity change: AudiusProject/apps#4481

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

This will have no impact pre-migration.

How Has This Been Tested?

Respond with correct POA receipt.

{"receipt":{"blockHash":"0x83ab72620aedd354aabe89648255b1af903c52ea4c69d47e31fc02cea64d2ff4","blockNumber":31186561,"contractAddress":null,"cumulativeGasUsed":67220,"effectiveGasPrice":"0x1176592e00","from":"0x50c061e88db3c0f78f94389b6e118c3128ceca0a","gasUsed":67220,"logs":[{"address":"0x2F99338637F027CFB7494E46B49987457beCC6E3","blockHash":"0x83ab72620aedd354aabe89648255b1af903c52ea4c69d47e31fc02cea64d2ff4","blockNumber":31186561,"data":"0x000000000000000000000000000000000000000000000000000000000f12dfa400000000000000000000000093d5a5d687c856a976bb8f5d94e5636aee8d0cdc00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000f675d000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000005547261636b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006556e736176650000000000000000000000000000000000000000000000000000","logIndex":0,"removed":false,"topics":["0x772d62d21cc8467a14127f11ab2c094d32e5b521433cefba5a7312fc464d88b4"],"transactionHash":"0xbc79ae5ce04973cfa6ee3a2a6cf41720b87e446e48cc08311e0e2c83b04fa1b7","transactionIndex":0,"transactionLogIndex":"0x0","type":"mined","id":"log_e2885e61"}],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000010000000000000000","status":true,"to":"0x2f99338637f027cfb7494e46b49987457becc6e3","transactionHash":"0xbc79ae5ce04973cfa6ee3a2a6cf41720b87e446e48cc08311e0e2c83b04fa1b7","transactionIndex":0,"type":"0x0"}}

Confirmed this transaction was relayed and indexed correctly.

Confirmed identity also relayed to ACDC and decoded this transaction. Confirmed the data matched with the POA tx.

relayToNethermind sending txhash: 0x2382fc0f287f5b5b507c567d57c0d3f1280d8418ee18db0bdde9fa7c349a1782 

Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.

How will this change be monitored?

For features that are critical or could fail silently please describe the monitoring/alerting being added.

Feature Flags

Are all new features properly feature flagged? Describe added feature flags.

@audius-infra

Copy link
Copy Markdown
Collaborator

Preview this change https://demo.audius.co/is-double-relay

@isaacsolo isaacsolo merged commit 3da2b87 into main Feb 21, 2023
@isaacsolo isaacsolo deleted the is-double-relay branch February 21, 2023 18:47
isaacsolo pushed a commit that referenced this pull request Feb 21, 2023
audius-infra pushed a commit that referenced this pull request Feb 25, 2023
[ef02ac1] Fix podfile, specify ruby-version (#2924) Dylan Jeffers
[c925cfe] Fix track play button (#2925) Michael Piazza
[6e3338b] [C-2201] Improve card list skeleton count (#2916) Dylan Jeffers
[c696519] [C-2207] Fix scrubber timestamp sync issues (#2912) Dylan Jeffers
[f9f5066] [C-2202] Sync legacy search history (#2915) Dylan Jeffers
[1c50935] [C-2193] Fix webview audio players on ios (#2922) Raymond Jacobson
[dd649d5] [C-1922] Fix mobile share encoding (#2918) Dylan Jeffers
[eb6b89e] Fix collectibles route (#2917) Dylan Jeffers
[efaa539] Fix lineup showing empty tile before fetch (#2911) Dylan Jeffers
[c77076a] comma (#2920) Marcus Pasell
[6041a40] [PAY-943] - Filter out download options for gated track (#2919) Saliou Diallo
[3b2ff6d] [DMs] RadioButton component and InboxSettingsModal (#2884) Marcus Pasell
[709dde5] [PAY-890] Add locked content modal (#2893) Saliou Diallo
[3d8912f] [C-1856] Upgrade react-native to 0.71 (#2644) Dylan Jeffers
[e863756] [C-1931] Refactor collection header for private track logic (#2676) Dylan Jeffers
[1f8358b] [C-2171] Fix remove download performance (#2903) Dylan Jeffers
[4050a55] [C-2042] Fix empty collection on deep link (#2914) Sebastian Klingler
[03a31ee] [C-2164] add retry and requeue logic to download track jobs (#2899) Andrew Mendelsohn
[3bf27f7] [C-2186] Fix spacing for longs handles/names (#2908) Raymond Jacobson
[a89b3bb] Fix image loading issues w Share to X (#2909) nicoback2
[902159c] [C-2130] Fix race cond in lineup init (#2905) Raymond Jacobson
[7beb57d] [C-2200] Fix profile tabs loading/empty states (#2906) Dylan Jeffers
[6beaa2d] [C-2198] Fix runtime error due to missing drawer data (#2904) Dylan Jeffers
[2b44b26] [C-2197] Fix image prefetch to work with fast-image (#2902) Dylan Jeffers
[5a8069f] Permission copy change (#2901) nicoback2
[d427d3e] Fix TikTok share permission for iOS (#2897) nicoback2
[44c665d] [C-2195] Fix tiktok share on android (#2900) Sebastian Klingler
[0235af9] [C-2178] Complete w/ tiktok qa fixes (#2896) Sebastian Klingler
[dfe4622] Add repost of a repost metadata to reposting tracks and collections (#2847) sabrina-kiam
[c2f6ad7] Minor updates to mobile chats (#2891) Reed
[0e70d27] [C-2169] Fix track-player hot reload (#2890) Dylan Jeffers
[a07ce78] Rename TikTok video feature flag (#2894) nicoback2
[3da2b87] Relay to both POA and ACDC (#2895) Isaac Solo
[a02fee7] [C-2176] TikTok sdk improvements (#2892) Sebastian Klingler
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants