on master help sign in
migration warning changes, fixes #1056 and #930
commit8082ffd95f0e622b9925a6d149ab2b4c555f23e4 author~sarlev-sarsen <tlatfcp@protonmail.com> dateThu 11 Dec 2025, 17:46 (1 year ago) parent7b82fc8
1 file changed+42−26
src/views/Point/MigrateL2.tsx+42−26
src/views/Point/MigrateL2.tsx+42−26
@@ -85,11 +85,11 @@ const useMigrate = () => {
8585 setSelectedPoint(selectedPoint);
8686 return transfer || isPlanet(selectedPoint)
8787 ? ecliptic.transferPoint(
88− _contracts,
89− selectedPoint,
90− DUMMY_L2_ADDRESS,
91− false
92− )
88+ _contracts,
89+ selectedPoint,
90+ DUMMY_L2_ADDRESS,
91+ false
92+ )
9393 : ecliptic.setSpawnProxy(_contracts, selectedPoint, DUMMY_L2_ADDRESS);
9494 },
9595 [_contracts]
@@ -245,10 +245,25 @@ export default function MigrateL2() {
245245 )}
246246 {isStar && (
247247 <Box className="mt4">
248− Transferring this point will allow you to conduct all
249− transactions on Layer 2. Setting the spawn proxy of a star to
250− Layer 2 will allow you to create planet invites for free, but
251− will require you to do all other transactions on Layer 1.
248+ <div className="bold">Transferring ship</div>
249+ Allows you to conduct all
250+ transactions subsidized on Layer 2, with the tradeoff
251+ of lost visibility to the Ethereum network.
252+
253+ <br></br>
254+ <br></br>
255+ <div className="bold">Set spawn proxy</div>
256+ Moves spawning functionality to Layer 2
257+ enabling subsizided planet creation
258+ while retaining visibility to the Ethereum network.
259+ <br></br>
260+ <a
261+ className="bold underline"
262+ target="_blank"
263+ rel="noreferrer"
264+ href="https://docs.urbit.org/user-manual/id/l2-star">
265+ Learn More about the L2 for stars↗
266+ </a>
252267 </Box>
253268 )}
254269 {isGalaxy && (
@@ -256,15 +271,17 @@ export default function MigrateL2() {
256271 Setting the spawn proxy of this galaxy to Layer 2 will allow you
257272 to spawn stars on Layer 2 for free, but will still require you
258273 to do all other transactions on Layer 1.
274+ <br></br>
275+ <br></br>
276+ <div className="bold">MIGRATING YOUR GALAXY'S SPAWN PROXY IS NOT RECOMMENDED, AND IS IRREVERSIBLE.</div>
259277 </Box>
260278 )}
261279 </Box>
262280 <Grid.Item
263281 full
264282 as={InlineEthereumTransaction}
265− label={`${
266− transfer ? 'Transfer ship' : 'Set spawn proxy'
267− } to Layer 2`}
283+ label={`${transfer ? 'Transfer ship' : 'Set spawn proxy'
284+ } to Layer 2`}
268285 {...bind}
269286 onReturn={() => pop()}
270287 />
@@ -275,16 +292,8 @@ export default function MigrateL2() {
275292 return (
276293 <Box className="content">
277294 <Box className="message">
278− You are about to migrate a node from Layer 1 to Layer 2. This will
279− make transactions faster and cheaper. Here are some things you should
280− know.{' '}
281− <a
282− className="bold"
283− target="_blank"
284− rel="noreferrer"
285− href="https://docs.urbit.org/user-manual/id/layer-2-for-planets">
286− Learn More
287− </a>
295+ You are about to migrate an Urbit ID from Layer 1 Ethereum to the Layer 2 rollup. This will
296+ make transactions cheaper. Here are some things you should know.{' '}
288297 </Box>
289298 {!hideInfo && (
290299 <Box className="info-list">
@@ -305,9 +314,9 @@ export default function MigrateL2() {
305314 <Box className="icon">$</Box>
306315 </Box>
307316 <Box className="info-message">
308− A migration is expensive, but a one-time fee. The estimated
309− price is <span className="bold">$120</span>. Transaction fees
310− will be subsidized on Layer 2.
317+ Migration incurs a one-time fee. The estimated
318+ price is generally less than <span className="bold">$10</span>. Transaction fees
319+ are subsidized by Tlon on Layer 2, making them effectively free.
311320 </Box>
312321 </Row>
313322 <Row className="info-row">
@@ -316,10 +325,17 @@ export default function MigrateL2() {
316325 </Box>
317326 {/* <HistoryIcon className="icon" /> */}
318327 <Box className="info-message">
319− All transactions will now be pushed at the end of the day. A
328+ Subsidized Layer 2 transactions are batched, generally hourly. A
320329 timer will show when the next push is.
321330 </Box>
322331 </Row>
332+ <a
333+ className="bold underline"
334+ target="_blank"
335+ rel="noreferrer"
336+ href="https://docs.urbit.org/user-manual/id/layer-2-for-planets">
337+ Learn More↗
338+ </a>
323339 </Box>
324340 )}
325341 {!hideInfo && (