Skip to content

Commit fc6ac01

Browse files
committed
Ci
Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci(satp-hermes): fix version issue Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): fix version issue Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): fix build proto buff Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): ignore protobuff fail Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): updated run scope Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): updated run scope Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes):moved message proto Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes):added java dependency Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes):added java dependency Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes):added build steps Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes):added build steps Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes):updated jest config Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): added ts-jest dep Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> feat(satp-hermes): added jest types Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> feat(satp-hermes): added types dep Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> feat(satp-hermes): updated workflow Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> feat(satp-hermes): added explicit import Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): added jest devdep Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): added explicit types Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): print dependencies Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): print deps Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): correct cd Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): changed node version Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> fix(satp-hermes): skip falling tests Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix: besu network and cdbc example Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix(satp-hermes): shutdown test (#3909) Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix(satp-hermes): fix test (#3911) Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix(satp-hermes): fix tests Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt> feat(connector-fabric): create event listener for fabric chaincode *Added a new function createFabricListener in connector *Added a new test file to test the listener *Changed lock asset contract to emit an event *Closes issue #3864 Signed-off-by: Joao Pereira <joaop.pereira208@gmail.com> feat(satp-hermes): integrated Fabric event listener in oracle Signed-off-by: Andre Augusto <andre.augusto@tecnico.ulisboa.pt> fix(satp-hermes): test knex Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix knex Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci(satp-hermes):corrected two tests Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> fix Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix: lint Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix: lint Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix protobuf codegen and lint script Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> lint Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci(satp-hermes): test troubleshoot Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): GatewayRunner test fixed Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> fix test Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci(satp-hermes): unit tests OK Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> fix build Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> cache Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> cache Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> cache node_modules is slower than just installing Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> fix Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt> ci(satp-hermes): divided integration tests Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): increased test timeout Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): divided integration tests Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): divided integration tests fixed Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): mock gitActions test Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): ci yaml corrected Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): added timeout Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> ci(satp-hermes): increased timeout Signed-off-by: Rodolfo Carapau <rodolfo.carapau@gmail.com> Timeout Signed-off-by: Carlos Amaro <carlosrscamaro@tecnico.ulisboa.pt>
1 parent 2408d2a commit fc6ac01

File tree

57 files changed

+1591
-867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1591
-867
lines changed

.github/workflows/satp-hermes-gateway.yaml

Lines changed: 387 additions & 72 deletions
Large diffs are not rendered by default.

examples/cactus-example-cbdc-bridging-backend/src/test/typescript/integration/cbdc-app-setup-infrastucture.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const log = LoggerProvider.getOrCreate({
1313
label: "BUNGEE - Hermes",
1414
});
1515
beforeAll(async () => {
16-
pruneDockerAllIfGithubAction({ logLevel })
16+
await pruneDockerAllIfGithubAction({ logLevel })
1717
.then(() => {
1818
log.info("Pruning throw OK");
1919
})

packages/cactus-plugin-satp-hermes/src/main/proto/buf.gen.yaml renamed to packages/cactus-plugin-satp-hermes/buf.gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ version: v2
22
clean: true
33
plugins:
44
- local: protoc-gen-es
5-
out: ../typescript/generated/proto/
5+
out: src/main/typescript/generated/proto/
66
opt: target=ts
77
strategy: directory
88
- local: protoc-gen-connect-es
9-
out: ../typescript/generated/proto/
9+
out: src/main/typescript/generated/proto/
1010
opt:
1111
- target=ts
1212
- js_import_style=module

packages/cactus-plugin-satp-hermes/src/main/proto/buf.yaml renamed to packages/cactus-plugin-satp-hermes/buf.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: v2
2+
modules:
3+
- path: src/main/proto
24
lint:
35
use:
46
- STANDARD
@@ -9,7 +11,6 @@ lint:
911
rpc_allow_google_protobuf_empty_requests: true
1012
rpc_allow_google_protobuf_empty_responses: true
1113
service_suffix: Service
12-
1314
breaking:
1415
use:
1516
- FILE

packages/cactus-plugin-satp-hermes/package.json

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565
"dist/*"
6666
],
6767
"scripts": {
68-
"build:bundle": "ncc build ./dist/lib/main/typescript/plugin-satp-hermes-gateway-cli.js --out=./dist/bundle/ncc/ --external=fabric-common --external=pg-cloudflare --external=bufferutil",
68+
"build:bundle": "ncc build ./dist/lib/main/typescript/plugin-satp-hermes-gateway-cli.js --out=./dist/bundle/ncc/ --external=fabric-common --external=bufferutil --external=pg-cloudflare",
6969
"build:bundle:prod": "ncc build ./dist/lib/main/typescript/plugin-satp-hermes-gateway-cli.js --minify --out=./dist/bundle/ncc/ --external=fabric-common --external=bufferutil",
7070
"build": "run-s codegen tsc",
71-
"build-proto": "buf build --path src/main/proto --verbose",
71+
"build-proto": "buf build --verbose",
7272
"build:dev:backend:postbuild": "",
7373
"bundle-openapi-json": "swagger-cli bundle ./src/main/yml/bol/openapi-blo.yml -o ./src/main/json/openapi-blo-bundled.json -r -t json",
7474
"bundle-openapi-yaml": "swagger-cli bundle ./src/main/yml/bol/openapi-blo.yml -o ./src/main/yml/bol/openapi-blo-bundled.yml -r -t yaml",
@@ -86,21 +86,22 @@
8686
"forge": "forge build ./src/main/solidity/*.sol --out ./src/main/solidity/generated",
8787
"forge:all": "run-s 'forge' 'forge:test'",
8888
"forge:test": "forge build ./src/test/solidity/contracts/*.sol --out ./src/test/solidity/generated",
89-
"generate-proto": "cd src/main/proto && yarn buf generate --verbose",
89+
"generate-proto": "yarn buf generate --verbose",
9090
"generate-sdk": "run-p 'generate-sdk:*'",
9191
"generate-sdk:go": "openapi-generator-cli generate -i ./src/main/yml/bol/openapi-blo-bundled.yml -g go -o ./src/main/go/generated/gateway-client --additional-properties=packageName=generated,generateInterfaces=true,packageVersion=v0.0.1,moduleName=github.com/hyperledger/cacti/packages/cactus-plugin-satp-hermes/src/main/go/generated --git-user-id hyperledger --git-repo-id cacti/packages/cactus-plugin-satp-hermes/src/main/go/generated",
9292
"generate-sdk:typescript-axios-bol": "yarn bundle-openapi-yaml && yarn bundle-openapi-json && openapi-generator-cli generate -i ./src/main/yml/bol/openapi-blo-bundled.yml -g typescript-axios -o ./src/main/typescript/generated/gateway-client/typescript-axios/ --reserved-words-mappings protected=protected --enable-post-process-file",
93-
"lint": "run-p 'lint:*'",
93+
"lint": "run-s 'lint:*' 'lint-code'",
9494
"lint-code": "run-s format:eslint format:prettier",
9595
"format:eslint": "eslint '**/*.{js,ts}' --quiet --fix --ignore-path .eslintignore",
9696
"format:prettier": "prettier --write --config ../../.prettierrc.js --ignore-path .prettierignore \"**/{openapi.json,*.ts,*.js}\"",
9797
"lint:oapi": "vacuum lint -d -e ./src/main/yml/bol/openapi-blo-bundled.yml",
98-
"lint:protobuf": "cd src/main/proto && buf lint --verbose",
99-
"preinstall": "curl -L https://foundry.paradigm.xyz | bash && foundryup",
98+
"lint:protobuf": "buf lint --verbose",
10099
"pretsc": "npm run generate-sdk",
101100
"start-gateway": "node ./dist/lib/main/typescript/plugin-satp-hermes-gateway-cli.js",
102-
"test:integration": "npx jest ./src/test/typescript/integration",
103-
"test:unit": "npx jest ./src/test/typescript/unit",
101+
"test:integration:gateway": "NODE_OPTIONS=--max-old-space-size=4096 npx jest ./src/test/typescript/integration/gateway --runInBand --forceExit",
102+
"test:integration:bridge": "NODE_OPTIONS=--max-old-space-size=4096 npx jest ./src/test/typescript/integration/bridge --runInBand --forceExit",
103+
"test:integration:oracle": "NODE_OPTIONS=--max-old-space-size=4096 npx jest ./src/test/typescript/integration/oracle --runInBand --forceExit",
104+
"test:unit": "NODE_OPTIONS=--max-old-space-size=4096 npx jest ./src/test/typescript/unit --runInBand --forceExit",
104105
"tsc": "tsc --project ./tsconfig.json",
105106
"watch": "tsc --build --watch",
106107
"db:setup": "bash -c 'npm run db:destroy || true && run-s db:start db:migrate db:seed'",
@@ -120,9 +121,26 @@
120121
"docker:compose": "docker compose --project-directory ./ -f ./docker-compose.yml up --build"
121122
},
122123
"jest": {
124+
"preset": "ts-jest",
125+
"testEnvironment": "node",
126+
"transform": {
127+
"^.+\\.tsx?$": "ts-jest"
128+
},
129+
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
130+
"moduleFileExtensions": [
131+
"ts",
132+
"tsx",
133+
"js",
134+
"jsx",
135+
"json",
136+
"node"
137+
],
123138
"moduleNameMapper": {
124-
"(.+)\\.js": "$1"
125-
}
139+
"^(\\.?\\.?/.*)\\.js$": "$1"
140+
},
141+
"modulePathIgnorePatterns": [
142+
"<rootDir>/dist/"
143+
]
126144
},
127145
"dependencies": {
128146
"@bufbuild/protobuf": "2.2.2",
@@ -194,13 +212,15 @@
194212
"@grpc/proto-loader": "0.7.13",
195213
"@hyperledger/cactus-api-client": "2.1.0",
196214
"@hyperledger/cactus-test-geth-ledger": "2.1.0",
215+
"@openapitools/openapi-generator-cli": "2.7.0",
197216
"@quobix/vacuum": "0.9.16",
198217
"@types/body-parser": "1.19.4",
199218
"@types/crypto-js": "4.0.1",
200219
"@types/dockerode": "3.2.7",
201220
"@types/express": "5.0.1",
202221
"@types/fs-extra": "11.0.4",
203222
"@types/google-protobuf": "3.15.12",
223+
"@types/jest": "29",
204224
"@types/node": "18.18.2",
205225
"@types/node-schedule": "2.1.7",
206226
"@types/pg": "8.11.10",
@@ -224,12 +244,14 @@
224244
"grpc-tools": "1.12.4",
225245
"grpc_tools_node_protoc_ts": "5.3.3",
226246
"internal-ip": "6.2.0",
247+
"jest": "29.5.0",
227248
"jsonc": "2.0.0",
228249
"kubo-rpc-client": "3.0.4",
229250
"make-dir-cli": "3.1.0",
230251
"prettier": "3.2.5",
231252
"protobufjs": "7.2.5",
232253
"swagger-cli": "4.0.4",
254+
"ts-jest": "29.3.3",
233255
"ts-node": "10.9.1",
234256
"typescript": "5.5.2"
235257
},

packages/cactus-plugin-satp-hermes/src/main/go/generated/gateway-client/api/openapi.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ components:
16111611
- READ
16121612
- UPDATE
16131613
- READ_AND_UPDATE
1614-
type: enum
1614+
type: string
16151615
srcNetworkId:
16161616
$ref: '#/components/schemas/Transact_request_sourceAsset_networkId'
16171617
srcContract:
@@ -1635,7 +1635,7 @@ components:
16351635
enum:
16361636
- ACTIVE
16371637
- INACTIVE
1638-
type: enum
1638+
type: string
16391639
mode:
16401640
description: The mode of operation for registered tasks.
16411641
enum:
@@ -1787,7 +1787,7 @@ components:
17871787
- READ
17881788
- UPDATE
17891789
- READ_AND_UPDATE
1790-
type: enum
1790+
type: string
17911791
srcNetworkId:
17921792
$ref: '#/components/schemas/Transact_request_sourceAsset_networkId'
17931793
srcContract:
@@ -1811,7 +1811,7 @@ components:
18111811
enum:
18121812
- ACTIVE
18131813
- INACTIVE
1814-
type: enum
1814+
type: string
18151815
mode:
18161816
description: The mode of operation for registered tasks.
18171817
enum:
@@ -1849,7 +1849,7 @@ components:
18491849
- READ
18501850
- UPDATE
18511851
- READ_AND_UPDATE
1852-
type: enum
1852+
type: string
18531853
srcNetworkId:
18541854
$ref: '#/components/schemas/Transact_request_sourceAsset_networkId'
18551855
srcContract:
@@ -1873,7 +1873,7 @@ components:
18731873
enum:
18741874
- ACTIVE
18751875
- INACTIVE
1876-
type: enum
1876+
type: string
18771877
mode:
18781878
description: The mode of operation for registered tasks.
18791879
enum:
@@ -4496,10 +4496,10 @@ components:
44964496
dstNetworkId:
44974497
ledgerType: BESU_1X
44984498
id: id
4499-
type: ""
4499+
type: READ
45004500
taskID: 000003e8-e0b8-21ee-ba00-325096b39f47
45014501
timestamp: 1672531200
4502-
status: ""
4502+
status: ACTIVE
45034503
properties:
45044504
taskID:
45054505
description: The unique identifier of the task.
@@ -4511,7 +4511,7 @@ components:
45114511
- READ
45124512
- UPDATE
45134513
- READ_AND_UPDATE
4514-
type: enum
4514+
type: string
45154515
srcNetworkId:
45164516
$ref: '#/components/schemas/Transact_request_sourceAsset_networkId'
45174517
srcContract:
@@ -4535,7 +4535,7 @@ components:
45354535
enum:
45364536
- ACTIVE
45374537
- INACTIVE
4538-
type: enum
4538+
type: string
45394539
mode:
45404540
description: The mode of operation for registered tasks.
45414541
enum:
@@ -4789,10 +4789,10 @@ components:
47894789
dstNetworkId:
47904790
ledgerType: BESU_1X
47914791
id: id
4792-
type: ""
4792+
type: READ
47934793
taskID: 000003e8-e0b8-21ee-ba00-325096b39f47
47944794
timestamp: 1672531200
4795-
status: ""
4795+
status: ACTIVE
47964796
properties:
47974797
taskID:
47984798
description: The unique identifier of the task.
@@ -4804,7 +4804,7 @@ components:
48044804
- READ
48054805
- UPDATE
48064806
- READ_AND_UPDATE
4807-
type: enum
4807+
type: string
48084808
srcNetworkId:
48094809
$ref: '#/components/schemas/Transact_request_sourceAsset_networkId'
48104810
srcContract:
@@ -4828,7 +4828,7 @@ components:
48284828
enum:
48294829
- ACTIVE
48304830
- INACTIVE
4831-
type: enum
4831+
type: string
48324832
mode:
48334833
description: The mode of operation for registered tasks.
48344834
enum:

packages/cactus-plugin-satp-hermes/src/main/go/generated/gateway-client/docs/ExecuteOracleTask200Response.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**TaskID** | Pointer to **string** | The unique identifier of the task. | [optional]
8-
**Type** | [**Enum**](enum.md) | The type of the Oracle task. |
8+
**Type** | **string** | The type of the Oracle task. |
99
**SrcNetworkId** | Pointer to [**TransactRequestSourceAssetNetworkId**](TransactRequestSourceAssetNetworkId.md) | | [optional]
1010
**SrcContract** | [**ExecuteOracleTask200ResponseSrcContract**](ExecuteOracleTask200ResponseSrcContract.md) | |
1111
**DstNetworkId** | Pointer to [**TransactRequestSourceAssetNetworkId**](TransactRequestSourceAssetNetworkId.md) | | [optional]
1212
**DstContract** | [**ExecuteOracleTask200ResponseDstContract**](ExecuteOracleTask200ResponseDstContract.md) | |
1313
**Timestamp** | **int64** | The timestamp when the Oracle task was created or last updated. |
1414
**Operations** | [**[]ExecuteOracleTask200ResponseOperationsInner**](ExecuteOracleTask200ResponseOperationsInner.md) | The list of operations performed by the Oracle task. |
15-
**Status** | [**Enum**](enum.md) | The current status of the Oracle task. |
15+
**Status** | **string** | The current status of the Oracle task. |
1616
**Mode** | **string** | The mode of operation for registered tasks. |
1717
**PollingInterval** | Pointer to **int32** | The interval for polling in milliseconds. Only if taskMode is POLLING. | [optional]
1818

1919
## Methods
2020

2121
### NewExecuteOracleTask200Response
2222

23-
`func NewExecuteOracleTask200Response(type_ Enum, srcContract ExecuteOracleTask200ResponseSrcContract, dstContract ExecuteOracleTask200ResponseDstContract, timestamp int64, operations []ExecuteOracleTask200ResponseOperationsInner, status Enum, mode string, ) *ExecuteOracleTask200Response`
23+
`func NewExecuteOracleTask200Response(type_ string, srcContract ExecuteOracleTask200ResponseSrcContract, dstContract ExecuteOracleTask200ResponseDstContract, timestamp int64, operations []ExecuteOracleTask200ResponseOperationsInner, status string, mode string, ) *ExecuteOracleTask200Response`
2424

2525
NewExecuteOracleTask200Response instantiates a new ExecuteOracleTask200Response object
2626
This constructor will assign default values to properties that have it defined,
@@ -62,20 +62,20 @@ HasTaskID returns a boolean if a field has been set.
6262

6363
### GetType
6464

65-
`func (o *ExecuteOracleTask200Response) GetType() Enum`
65+
`func (o *ExecuteOracleTask200Response) GetType() string`
6666

6767
GetType returns the Type field if non-nil, zero value otherwise.
6868

6969
### GetTypeOk
7070

71-
`func (o *ExecuteOracleTask200Response) GetTypeOk() (*Enum, bool)`
71+
`func (o *ExecuteOracleTask200Response) GetTypeOk() (*string, bool)`
7272

7373
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
7474
and a boolean to check if the value has been set.
7575

7676
### SetType
7777

78-
`func (o *ExecuteOracleTask200Response) SetType(v Enum)`
78+
`func (o *ExecuteOracleTask200Response) SetType(v string)`
7979

8080
SetType sets Type field to given value.
8181

@@ -212,20 +212,20 @@ SetOperations sets Operations field to given value.
212212

213213
### GetStatus
214214

215-
`func (o *ExecuteOracleTask200Response) GetStatus() Enum`
215+
`func (o *ExecuteOracleTask200Response) GetStatus() string`
216216

217217
GetStatus returns the Status field if non-nil, zero value otherwise.
218218

219219
### GetStatusOk
220220

221-
`func (o *ExecuteOracleTask200Response) GetStatusOk() (*Enum, bool)`
221+
`func (o *ExecuteOracleTask200Response) GetStatusOk() (*string, bool)`
222222

223223
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
224224
and a boolean to check if the value has been set.
225225

226226
### SetStatus
227227

228-
`func (o *ExecuteOracleTask200Response) SetStatus(v Enum)`
228+
`func (o *ExecuteOracleTask200Response) SetStatus(v string)`
229229

230230
SetStatus sets Status field to given value.
231231

0 commit comments

Comments
 (0)