From b6f4bf99352128182c01387a1e55a5fe2560c59c Mon Sep 17 00:00:00 2001 From: Claudia Date: Mon, 26 Jun 2023 17:20:10 +0200 Subject: [PATCH] fix typo --- package-lock.json | 4 ++-- package.json | 2 +- src/linearize.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5171f54..feebf56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "hardhat-s3-linearization", + "name": "hardhat-c3-linearization", "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "hardhat-s3-linearization", + "name": "hardhat-c3-linearization", "version": "0.0.1", "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 4153603..ba097ce 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hardhat-c3-linearization", "version": "0.0.1", - "description": "Hardhat TypeScript plugin to get the S3 linearization of your project.", + "description": "Hardhat TypeScript plugin to get the C3 linearization of your project.", "author": "Claudia Barcelo", "license": "MIT", "main": "dist/src/index.js", diff --git a/src/linearize.ts b/src/linearize.ts index 902d9d4..976cd07 100644 --- a/src/linearize.ts +++ b/src/linearize.ts @@ -83,7 +83,7 @@ function _linearize( return res; } - // solidity s3(right to left) has the opposite of python ordering + // solidity c3(right to left) has the opposite of python ordering parents = parents.slice().reverse(); // get the linearization of all node parents