-
Notifications
You must be signed in to change notification settings - Fork 97
fix(sdk): deprecate NttAutomaticRoute in favor of NttExecutorRoute #854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,13 +40,25 @@ type Q = routes.Quote<Op, Vp>; | |
|
|
||
| type R = NttRoute.AutomaticTransferReceipt; | ||
|
|
||
| /** | ||
| * @deprecated Use {@link nttExecutorRoute} instead. | ||
| * When the source chain is EVM, this route relies on on-chain special/standard relayer pricing | ||
| * which is no longer maintained. Older EVM transceiver deployments may return stale or inflated | ||
| * delivery quotes. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of "Older EVM transceiver deployments may return stale or inflated delivery quotes", let's say: "Messages sent via the Standard Relayer will not be automatically delivered to the destination chain past April 1st, 2026."
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good call on adding the delivery deadline, I'll add it, but I would still keep the stale quotes note too since that's the main issue integrators have been hitting. An explanation for why the quote is very high is important here imo. |
||
| */ | ||
| export function nttAutomaticRoute(config: NttRoute.Config) { | ||
| class NttRouteImpl<N extends Network> extends NttAutomaticRoute<N> { | ||
| static override config = config; | ||
| } | ||
| return NttRouteImpl; | ||
| } | ||
|
|
||
| /** | ||
| * @deprecated Use {@link NttExecutorRoute} instead. | ||
| * When the source chain is EVM, this route relies on on-chain special/standard relayer pricing | ||
| * which is no longer maintained. Older EVM transceiver deployments may return stale or inflated | ||
| * delivery quotes. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment as the above |
||
| */ | ||
| export class NttAutomaticRoute<N extends Network> | ||
| extends routes.AutomaticRoute<N, Op, Vp, R> | ||
| implements routes.StaticRouteMethods<typeof NttAutomaticRoute> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest adding "Any messages sent via the Standard Relayer will not be automatically delivered to the destination chain."