Skip to content
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

docs: text error corrections and variable updates #260

Merged
merged 5 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/linea-ccip-gateway/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ try {
try {
const host = _req.protocol + "://" + _req.get("host");
// Call the actual method to get the results for a specific slot location to check that it resolves correctly
// Query to retreive the address of "test.linea.eth" using the mainnet linea ccip gateway
// Query to retrieve the address of "test.linea.eth" using the mainnet linea ccip gateway
let urlToCheck = `${host}/0xde16ee87b0c019499cebdde29c9f7686560f679a/0xea9cd3bf00000000000000000000000086c5aed9f27837074612288610fb98ccc1733126000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000001ff000000000000000000000000000000000000000000000000000000000102200304ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020a6b048e995adeec31455b4128a77bb8c173bd1314c7c99ab5e09622ee28be2f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000020a6b048e995adeec31455b4128a77bb8c173bd1314c7c99ab5e09622ee28be2f00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003c.json`;
if (nodeEnv === "test") {
// If on sepolia the values are slightly different
// Query to retreive the address of "test.linea-sepolia.eth" using the linea sepolia ccip gateway
// Query to retrieve the address of "test.linea-sepolia.eth" using the linea sepolia ccip gateway
urlToCheck = `${host}/0x64884ed06241c059497aedb2c7a44ccae6bc7937/0xea9cd3bf000000000000000000000000a2008916ed2d7ed0ecd747a8a5309267e42cf1f1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000001ff000000000000000000000000000000000000000000000000000000000102200304ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020dde5d7fdc926e668bfdf1fa738b96e0ad0267b06f38e6709478a00dbc5243c17000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000020dde5d7fdc926e668bfdf1fa738b96e0ad0267b06f38e6709478a00dbc5243c170000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003c.json`;
}
const check = await fetch(urlToCheck);
Expand Down
2 changes: 1 addition & 1 deletion packages/linea-ens-app/public/locales/en/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"ownership": {
"name": "Ownership",
"warning": {
"ownerNotManager": "You are the owner but not the manager. This may be unintended if you’ve recently recieved this name from another address.",
"ownerNotManager": "You are the owner but not the manager. This may be unintended if you’ve recently received this name from another address.",
"managerNotParentOwner": "The owner of <strong>{{parent}}</strong> can change ownership, roles, and settings. They cannot change the profile.",
"managerNotDNSOwner": "You are the Manager but not DNS Owner of this name. DNS names can be reclaimed by the DNS Owner at any time. You can send this name to the Owner, or update the DNS record to match.",
"dnsOwnerNotManager": "You cannot make changes to this name because you are the DNS Owner, but not the Manager. You can sync the manager to fix this."
Expand Down
2 changes: 1 addition & 1 deletion packages/linea-ens-app/public/locales/en/register.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"notEnoughEth": "Not enough ETH in wallet",
"creditOrDebit": "Credit or debit card",
"additionalFee": "Additional processing fee",
"pendingMoonpayTransaction": "Your MoonPay transaction is processing. This may take up to two minutes. You can check your progress from the confirmation email you recieved.",
"pendingMoonpayTransaction": "Your MoonPay transaction is processing. This may take up to two minutes. You can check your progress from the confirmation email you received.",
"failedMoonpayTransaction": "Your MoonPay transaction has failed. Please try again or choose the 'Ethereum' payment method.",
"ethereum": "Ethereum",
"processing": "Processing",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ const SelectPrimaryName = ({ data: { address }, dispatch, onDismiss }: Props) =>
let validName = data.name.name
if (!hasEncodedLabel(validName)) return validName

// build name from unkown labels
// build name from unknown labels
validName = getNameFromUnknownLabels(validName, data.unknownLabels)
if (!hasEncodedLabel(validName)) {
saveName(validName)
Expand Down
4 changes: 2 additions & 2 deletions packages/linea-ens-app/src/utils/tenderly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type ExtensionRequest = {
from: Address
}

type TenderlyRepsonse = {
type TenderlyResponse = {
gasUsed: number
status: boolean
}
Expand All @@ -32,7 +32,7 @@ export const fetchTenderlyEstimate = async (
req: BaseRequest & (RegistrationRequest | ExtensionRequest),
) => {
const { type, ...bodyData } = req
const result: TenderlyRepsonse = await fetch(`${TENDERLY_WORKER_URL}/${type}`, {
const result: TenderlyResponse = await fetch(`${TENDERLY_WORKER_URL}/${type}`, {
method: 'POST',
body: JSON.stringify(bodyData),
}).then((res) => res.json())
Expand Down
Loading