on master help sign in
migration warning changes, fixes #1056 and #930
8082ffd~sarlev-sarsen
src/views/Point/MigrateL2.tsx+42−26
@@ -85,11 +85,11 @@ const useMigrate = () => {
85 setSelectedPoint(selectedPoint);
85 setSelectedPoint(selectedPoint);
86 return transfer || isPlanet(selectedPoint)
86 return transfer || isPlanet(selectedPoint)
87 ? ecliptic.transferPoint(
87 ? ecliptic.transferPoint(
88− _contracts,
88+ _contracts,
89− selectedPoint,
89+ selectedPoint,
90− DUMMY_L2_ADDRESS,
90+ DUMMY_L2_ADDRESS,
91− false
91+ false
92− )
92+ )
93 : ecliptic.setSpawnProxy(_contracts, selectedPoint, DUMMY_L2_ADDRESS);
93 : ecliptic.setSpawnProxy(_contracts, selectedPoint, DUMMY_L2_ADDRESS);
94 },
94 },
95 [_contracts]
95 [_contracts]
@@ -245,10 +245,25 @@ export default function MigrateL2() {
245 )}
245 )}
246 {isStar && (
246 {isStar && (
247 <Box className="mt4">
247 <Box className="mt4">
248+ <div className="bold">Transferring ship</div>
248− Transferring this point will allow you to conduct all
249+ Allows you to conduct all
249− transactions on Layer 2. Setting the spawn proxy of a star to
250+ transactions subsidized on Layer 2, with the tradeoff
250− Layer 2 will allow you to create planet invites for free, but
251+ of lost visibility to the Ethereum network.
251− will require you to do all other transactions on Layer 1.
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>
252 </Box>
267 </Box>
253 )}
268 )}
254 {isGalaxy && (
269 {isGalaxy && (
@@ -256,15 +271,17 @@ export default function MigrateL2() {
256 Setting the spawn proxy of this galaxy to Layer 2 will allow you
271 Setting the spawn proxy of this galaxy to Layer 2 will allow you
257 to spawn stars on Layer 2 for free, but will still require you
272 to spawn stars on Layer 2 for free, but will still require you
258 to do all other transactions on Layer 1.
273 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>
259 </Box>
277 </Box>
260 )}
278 )}
261 </Box>
279 </Box>
262 <Grid.Item
280 <Grid.Item
263 full
281 full
264 as={InlineEthereumTransaction}
282 as={InlineEthereumTransaction}
265− label={`${
266− transfer ? 'Transfer ship' : 'Set spawn proxy'
283+ label={`${transfer ? 'Transfer ship' : 'Set spawn proxy'
267− } to Layer 2`}
284+ } to Layer 2`}
268 {...bind}
285 {...bind}
269 onReturn={() => pop()}
286 onReturn={() => pop()}
270 />
287 />
@@ -275,16 +292,8 @@ export default function MigrateL2() {
275 return (
292 return (
276 <Box className="content">
293 <Box className="content">
277 <Box className="message">
294 <Box className="message">
278− You are about to migrate a node from Layer 1 to Layer 2. This will
295+ You are about to migrate an Urbit ID from Layer 1 Ethereum to the Layer 2 rollup. This will
279− make transactions faster and cheaper. Here are some things you should
296+ make transactions cheaper. Here are some things you should know.{' '}
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>
288 </Box>
297 </Box>
289 {!hideInfo && (
298 {!hideInfo && (
290 <Box className="info-list">
299 <Box className="info-list">
@@ -305,9 +314,9 @@ export default function MigrateL2() {
305 <Box className="icon">$</Box>
314 <Box className="icon">$</Box>
306 </Box>
315 </Box>
307 <Box className="info-message">
316 <Box className="info-message">
308− A migration is expensive, but a one-time fee. The estimated
317+ Migration incurs a one-time fee. The estimated
309− price is <span className="bold">$120</span>. Transaction fees
318+ price is generally less than <span className="bold">$10</span>. Transaction fees
310− will be subsidized on Layer 2.
319+ are subsidized by Tlon on Layer 2, making them effectively free.
311 </Box>
320 </Box>
312 </Row>
321 </Row>
313 <Row className="info-row">
322 <Row className="info-row">
@@ -316,10 +325,17 @@ export default function MigrateL2() {
316 </Box>
325 </Box>
317 {/* <HistoryIcon className="icon" /> */}
326 {/* <HistoryIcon className="icon" /> */}
318 <Box className="info-message">
327 <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
320 timer will show when the next push is.
329 timer will show when the next push is.
321 </Box>
330 </Box>
322 </Row>
331 </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>
323 </Box>
339 </Box>
324 )}
340 )}
325 {!hideInfo && (
341 {!hideInfo && (