Skip to content

Commit b02880f

Browse files
Minor formatting adjustments
1 parent 47f38d8 commit b02880f

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

src/content/chainlink-automation/guides/migrate-to-v2.mdx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ The Chainlink Automation App offers a streamlined migration process for upkeeps
2929

3030
<ClickToZoom src="/images/automation/v2-migration/landing-page.png" />
3131

32-
1. Select your upkeep. In the **Details** page, select **Migrate Upkeep**.
32+
1. Select your upkeep. In the **Details** page, expand the **Actions** menu and select **Migrate upkeep**.
3333

3434
<ClickToZoom src="/images/automation/v2-migration/upkeep-details.png" />
3535

3636
1. Confirm the transaction in your wallet.
3737

38-
Upkeeps that are successfully migrated will show the following transaction logs:
38+
<ClickToZoom src="/images/automation/v2-migration/approve-migration.png" />
3939

40-
<ClickToZoom src="/images/automation/v2-migration/migration-txn.png" />
40+
Upkeeps that are successfully migrated will show the following [transaction logs](https://testnet.bscscan.com/tx/0x85b3a147518719d3c9b1dd6b80e5f39d53d18c177ebc10d1bfb8890eaab8900a#eventlog):
4141

42-
Event logs also appear in the block scanner. You can view the event logs on BSCScan for [this example migration transaction](https://testnet.bscscan.com/tx/0x85b3a147518719d3c9b1dd6b80e5f39d53d18c177ebc10d1bfb8890eaab8900a#eventlog).
42+
<ClickToZoom src="/images/automation/v2-migration/migration-txn.png" />
4343

4444
When the migration is complete:
4545

4646
- Your balance is transferred to the new registry automatically.
47-
- The new upkeep details page shows the updated registry address and a forwarder address. The forwarder address is a new unique forwarder to increase security for your upkeep. This address will be the unique `msg.sender` for your upkeep. If your upkeep is restricted to a single address calling it, you must give permission to the Forwarder address or your function will stop.
47+
- The new upkeep details page shows the updated registry address and a forwarder address. The forwarder address is a new unique forwarder to increase security for your upkeep. This address will be the unique `msg.sender` for your upkeep. If your upkeep is restricted to a single address calling it, you must give permission to the forwarder address. Otherwise, your function will stop.
4848
- Read the [migration checklist](#migration-checklist) to understand further updates you may need to make in your contracts.
4949

5050
<ClickToZoom src="/images/automation/v2-migration/details-with-forwarder.png" />
@@ -66,13 +66,15 @@ Enter a list of upkeepIDs e.g. `[99297446083125056953495436926707926113001699970
6666
For upkeeps on registry versions 1.0 and 1.1, you must migrate upkeeps manually:
6767

6868
1. Navigate to the Upkeep in the Chainlink Automation App.
69+
6970
<div class="remix-callout">
7071
<a href="https://automation.chain.link">Open the Chainlink Automation App</a>
7172
</div>
73+
7274
1. In the **Details** section, navigate to the center **Upkeep** card. Copy the **Upkeep address** - you need this for Step 5.
73-
1. Expand the **Actions** menu and select **Cancel Upkeep**.
75+
1. Expand the **Actions** menu and select **Cancel upkeep**.
7476
1. Approve the transaction in your wallet. When this transaction is confirmed, you must wait 50 blocks before you can withdraw funds.
75-
1. Return to the main [Chainlink Automation App](https://automation.chain.link/) landing page. Register a new upkeep, providing the **Upkeep Address** of your old upkeep.
77+
1. Return to the main [Chainlink Automation App](https://automation.chain.link/) landing page. Register a new upkeep, providing the **Upkeep address** of your old upkeep.
7678

7779
After migration, you have a new upkeep on Automation 2.0 with the same interface as your old upkeep. Future migrations are eligible for the simpler migration process. Read the [migration checklist](#migration-checklist) to understand further updates you may need to make in your contracts.
7880

@@ -82,7 +84,7 @@ Please take note of these important changes.
8284
### Unique Forwarder
8385
Automation 2.0 Upkeeps are called from a unique forwarder per upkeep, and not the registry. If your upkeep restricts `msg.sender` to the previous registry address, you must update it to the newly created [forwarder address](/chainlink-automation/guides/forwarder). The forwarder address becomes available only after the upkeep has been migrated. This forwarder address will remain constant in future migrations to the next version of Automation.
8486

85-
### Programmatic Upkeeps will be impacted
87+
### Update programmatic upkeeps
8688

8789
Please note that migration moves upkeeps from one registry to another. If you interact with your upkeep programatically via Solidity or other interfaces, you must update your code to make sure that you are referencing the correct registry and registrar for your migrated upkeeps:
8890

@@ -91,10 +93,10 @@ Please note that migration moves upkeeps from one registry to another. If you in
9193

9294
#### Get the latest ABI
9395

94-
The latest ABI for Automation 2.0 is in the [chainlink npm package](https://www.npmjs.com/package/@chainlink/contracts?activeTab=code):
96+
The latest ABI for Automation 2.0 is in the [@chainlink npm package](https://www.npmjs.com/package/@chainlink/contracts?activeTab=code):
9597

9698
- Registry ABI: `@chainlink/contracts/abi/v0.8/IKeeperRegistryMaster.json`
97-
- Registrar ABI: `@chainlink/contracts/abi/v0.8/AutomationRegistrar2_1.json
99+
- Registrar ABI: `@chainlink/contracts/abi/v0.8/AutomationRegistrar2_1.json`
98100

99101
After updating to the latest ABI, you will able to execute `registry.getForwarder(upkeepID)` to get the forwarder address in Solidity.
100102

@@ -104,5 +106,5 @@ Ensure that your function calls to the registry from your upkeep contract (if an
104106
### Funding is moved with migration
105107
When you migrate, your LINK funding is moved from one registry to the next automatically.
106108

107-
## Migration questions and feedback
109+
### Migration questions and feedback
108110
For any questions please reach out on [#automation channel](https://discord.com/channels/592041321326182401/821350860302581771) in the [Chainlink Discord server](https://discord.gg/qj9qarT).

0 commit comments

Comments
 (0)