Skip to content

Commit

Permalink
fix(satp-hermes): miss spell and a missing import
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Amaro <[email protected]>
  • Loading branch information
LordKubaya authored and RafaelAPB committed Dec 9, 2024
1 parent ad241ba commit 83b105b
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 30 deletions.
1 change: 1 addition & 0 deletions packages/cactus-plugin-satp-hermes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"@connectrpc/protoc-gen-connect-es": "1.6.1",
"@foundry-rs/hardhat-forge": "0.1.17",
"@grpc/grpc-js": "1.12.4",
"@hyperledger/cactus-api-client": "2.0.0",
"@hyperledger/cactus-cmd-api-server": "2.0.0",
"@hyperledger/cactus-common": "2.0.0",
"@hyperledger/cactus-core": "2.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export const DEFAULT_PORT_GATEWAY_UI = DEFAULT_PORT_GATEWAY_SERVER + 2;
export const DEFAULT_PORT_GATEWAY_API = 4010;
export const SATP_VERSION = "v02";
export const SATP_CORE_VERSION = "v02";
export const SATP_ARCHITETURE_VERSION = "v02";
export const SATP_ARCHITECTURE_VERSION = "v02";
export const SATP_CRASH_VERSION = "v02";
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
DEFAULT_PORT_GATEWAY_API,
DEFAULT_PORT_GATEWAY_CLIENT,
DEFAULT_PORT_GATEWAY_SERVER,
SATP_ARCHITETURE_VERSION,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
Expand Down Expand Up @@ -77,7 +77,7 @@ describe("SATPGateway initialization", () => {
expect(identity.version).toEqual([
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
]);
Expand Down Expand Up @@ -140,7 +140,7 @@ describe("SATPGateway initialization", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down Expand Up @@ -169,7 +169,7 @@ describe("SATPGateway initialization", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down Expand Up @@ -231,7 +231,7 @@ describe("SATPGateway startup", () => {
expect(identity.version).toEqual([
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
]);
Expand Down Expand Up @@ -294,7 +294,7 @@ describe("SATPGateway startup", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import {
DEFAULT_PORT_GATEWAY_API,
DEFAULT_PORT_GATEWAY_CLIENT,
DEFAULT_PORT_GATEWAY_SERVER,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_ARCHITETURE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
import { ClaimFormat } from "../../../main/typescript/generated/proto/cacti/satp/v02/common/message_pb";
Expand Down Expand Up @@ -120,7 +120,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down Expand Up @@ -283,7 +283,7 @@ describe("SATPGateway sending a token from Ethereum to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
getTransactRequest,
} from "../test-utils";
import {
SATP_ARCHITETURE_VERSION,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
Expand Down Expand Up @@ -123,7 +123,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down Expand Up @@ -247,7 +247,7 @@ describe("SATPGateway sending a token from Ethereum to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
getTransactRequest,
} from "../test-utils";
import {
SATP_ARCHITETURE_VERSION,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
Expand Down Expand Up @@ -113,7 +113,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import {
DEFAULT_PORT_GATEWAY_API,
DEFAULT_PORT_GATEWAY_CLIENT,
DEFAULT_PORT_GATEWAY_SERVER,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_ARCHITETURE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
import { ClaimFormat } from "../../../main/typescript/generated/proto/cacti/satp/v02/common/message_pb";
Expand Down Expand Up @@ -124,7 +124,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -142,7 +142,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -167,7 +167,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down Expand Up @@ -200,7 +200,7 @@ describe("SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
import { bufArray2HexStr } from "../../../main/typescript/gateway-utils";
import { ClaimFormat } from "../../../main/typescript/generated/proto/cacti/satp/v02/common/message_pb";
import {
SATP_ARCHITETURE_VERSION,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
Expand Down Expand Up @@ -121,7 +121,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric using openApi to req
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -138,7 +138,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric using openApi to req
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -164,7 +164,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric using openApi to req
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -191,7 +191,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric using openApi to req
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
import { bufArray2HexStr } from "../../../main/typescript/gateway-utils";
import { ClaimFormat } from "../../../main/typescript/generated/proto/cacti/satp/v02/common/message_pb";
import {
SATP_ARCHITETURE_VERSION,
SATP_ARCHITECTURE_VERSION,
SATP_CORE_VERSION,
SATP_CRASH_VERSION,
} from "../../../main/typescript/core/constants";
Expand Down Expand Up @@ -119,7 +119,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -136,7 +136,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -162,7 +162,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand All @@ -189,7 +189,7 @@ describe("2 SATPGateway sending a token from Besu to Fabric", () => {
version: [
{
Core: SATP_CORE_VERSION,
Architecture: SATP_ARCHITETURE_VERSION,
Architecture: SATP_ARCHITECTURE_VERSION,
Crash: SATP_CRASH_VERSION,
},
],
Expand Down

0 comments on commit 83b105b

Please sign in to comment.