From f0dea0334929a6380c2e314a457f0053175d9d04 Mon Sep 17 00:00:00 2001 From: phessophissy Date: Fri, 9 Jan 2026 22:12:24 +0100 Subject: [PATCH] docs: fix typos in task descriptions and NatSpec - Fixed 'improvment' to 'improvement' in PI-1 through PI-6 task descriptions - Fixed 'concatination' to 'concatenation' in MetadataFacet.sol NatSpec --- .../beanstalk/facets/metadata/MetadataFacet.sol | 4 ++-- tasks/protocol-improvements.js | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contracts/beanstalk/facets/metadata/MetadataFacet.sol b/contracts/beanstalk/facets/metadata/MetadataFacet.sol index 6af7cb59..407fd3d5 100644 --- a/contracts/beanstalk/facets/metadata/MetadataFacet.sol +++ b/contracts/beanstalk/facets/metadata/MetadataFacet.sol @@ -16,7 +16,7 @@ import {LibTokenSilo} from "contracts/libraries/Silo/LibTokenSilo.sol"; * @notice MetadataFacet is a contract that provides metadata for Pinto ERC1155 deposits, * as well as other auxiliary functions related to ERC1155 deposits. * - * @dev Deposits are represented by a uint256, which is the concatination of the token address and the stem. + * @dev Deposits are represented by a uint256, which is the concatenation of the token address and the stem. */ contract MetadataFacet is MetadataImage { using Strings for uint256; @@ -29,7 +29,7 @@ contract MetadataFacet is MetadataImage { * @param depositId - the id of the deposit * @dev the URI is a base64 encoded JSON object that contains the metadata and base64 encoded svg. * Deposits are stored as a mapping of a uint256 to a Deposit struct. - * ERC20 deposits are represented by the concatination of the token address and the stem. (20 + 12 bytes). + * ERC20 deposits are represented by the concatenation of the token address and the stem. (20 + 12 bytes). */ function uri(uint256 depositId) external view returns (string memory) { (address token, int96 stem) = LibBytes.unpackAddressAndStem(depositId); diff --git a/tasks/protocol-improvements.js b/tasks/protocol-improvements.js index 7d611b63..1370a89a 100644 --- a/tasks/protocol-improvements.js +++ b/tasks/protocol-improvements.js @@ -11,7 +11,7 @@ const { } = require("../test/hardhat/utils/constants.js"); module.exports = function () { - task("PI-1", "Deploys Pinto improvment set 1").setAction(async function () { + task("PI-1", "Deploys Pinto improvement set 1").setAction(async function () { const mock = false; let owner; if (mock) { @@ -72,7 +72,7 @@ module.exports = function () { }); }); - task("PI-2", "Deploys Pinto improvment set 2").setAction(async function () { + task("PI-2", "Deploys Pinto improvement set 2").setAction(async function () { const mock = false; let owner; if (mock) { @@ -96,7 +96,7 @@ module.exports = function () { }); }); - task("PI-3", "Deploys Pinto improvment set 3").setAction(async function () { + task("PI-3", "Deploys Pinto improvement set 3").setAction(async function () { const mock = true; let owner; if (mock) { @@ -156,7 +156,7 @@ module.exports = function () { }); }); - task("PI-4", "Deploys Pinto improvment set 4").setAction(async function () { + task("PI-4", "Deploys Pinto improvement set 4").setAction(async function () { const mock = true; let owner; if (mock) { @@ -195,7 +195,7 @@ module.exports = function () { }); }); - task("PI-5", "Deploys Pinto improvment set 5").setAction(async function () { + task("PI-5", "Deploys Pinto improvement set 5").setAction(async function () { const mock = true; let owner; if (mock) { @@ -244,7 +244,7 @@ module.exports = function () { }); }); - task("PI-6", "Deploys Pinto improvment set 6").setAction(async function () { + task("PI-6", "Deploys Pinto improvement set 6").setAction(async function () { const mock = true; let owner; if (mock) {