Skip to content

Commit 2b3113b

Browse files
committed
add openrpd dep target
1 parent ee50c82 commit 2b3113b

2 files changed

Lines changed: 71 additions & 71 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ lint:
151151
@echo "Running linters..."
152152
@${GOLANGCI_LINT} run ./... --timeout=5m
153153

154-
unit-tests:
154+
unit-tests: openrpc
155155
@echo "Running unit tests in x/..."
156156
${GO} test ./x/... -v -coverprofile=coverage.out
157157

158158
integration-tests: openrpc
159159
@echo "Running integration tests..."
160160
${GO} test -tags=integration,test -p 4 ./tests/integration/... -v
161161

162-
system-tests:
162+
system-tests: openrpc
163163
@echo "Running system tests..."
164164
${GO} test -tags=system,test ./tests/system/... -v
165165

@@ -171,7 +171,7 @@ simulation-bench: openrpc
171171
@echo "Running simulation benchmark..."
172172
GOMAXPROCS=2 ${GO} test -v -benchmem -run='^$$' -bench '^BenchmarkSimulation' -cpuprofile cpu.out ./app -Commit=true
173173

174-
systemex-tests:
174+
systemex-tests: openrpc
175175
@echo "Running system tests..."
176176
cd ./tests/systemtests/ && go test -tags=system_test -timeout 20m -v .
177177

docs/openrpc.json

Lines changed: 68 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,12 @@
219219
}
220220
},
221221
"required": [
222+
"PauseEnd",
223+
"PauseQuantiles",
222224
"LastGC",
223225
"NumGC",
224226
"PauseTotal",
225-
"Pause",
226-
"PauseEnd",
227-
"PauseQuantiles"
227+
"Pause"
228228
],
229229
"type": "object",
230230
"x-go-type": "debug.GCStats"
@@ -681,11 +681,11 @@
681681
}
682682
},
683683
"required": [
684-
"enableMemory",
685684
"enableReturnData",
686685
"tracerConfig",
687686
"disableStack",
688-
"disableStorage"
687+
"disableStorage",
688+
"enableMemory"
689689
],
690690
"type": "object",
691691
"x-go-type": "types.TraceConfig"
@@ -780,9 +780,9 @@
780780
}
781781
},
782782
"required": [
783+
"Frees",
783784
"Size",
784-
"Mallocs",
785-
"Frees"
785+
"Mallocs"
786786
],
787787
"type": "object",
788788
"x-go-type": "struct { Size uint32; Mallocs uint64; Frees uint64 }"
@@ -945,38 +945,38 @@
945945
}
946946
},
947947
"required": [
948-
"StackSys",
949-
"NumForcedGC",
950-
"DebugGC",
951-
"HeapAlloc",
952-
"MSpanSys",
953-
"BuckHashSys",
948+
"Alloc",
949+
"NextGC",
950+
"Sys",
954951
"Mallocs",
952+
"OtherSys",
953+
"PauseTotalNs",
955954
"Frees",
956-
"Alloc",
957-
"Lookups",
958955
"HeapObjects",
959-
"MSpanInuse",
956+
"MCacheInuse",
960957
"NumGC",
961-
"EnableGC",
958+
"DebugGC",
962959
"TotalAlloc",
963-
"Sys",
964-
"HeapReleased",
965-
"GCSys",
966-
"PauseTotalNs",
967-
"GCCPUFraction",
968960
"HeapSys",
969-
"PauseNs",
970-
"BySize",
971-
"HeapInuse",
972961
"MCacheSys",
973-
"OtherSys",
974-
"NextGC",
975-
"MCacheInuse",
976-
"LastGC",
962+
"StackInuse",
977963
"PauseEnd",
964+
"GCCPUFraction",
965+
"BySize",
966+
"StackSys",
967+
"Lookups",
978968
"HeapIdle",
979-
"StackInuse"
969+
"HeapReleased",
970+
"MSpanInuse",
971+
"BuckHashSys",
972+
"LastGC",
973+
"HeapAlloc",
974+
"MSpanSys",
975+
"PauseNs",
976+
"NumForcedGC",
977+
"EnableGC",
978+
"HeapInuse",
979+
"GCSys"
980980
],
981981
"type": "object",
982982
"x-go-type": "runtime.MemStats"
@@ -1652,11 +1652,11 @@
16521652
}
16531653
},
16541654
"required": [
1655+
"disableStack",
16551656
"disableStorage",
16561657
"enableMemory",
16571658
"enableReturnData",
1658-
"tracerConfig",
1659-
"disableStack"
1659+
"tracerConfig"
16601660
],
16611661
"type": "object",
16621662
"x-go-type": "types.TraceConfig"
@@ -1955,10 +1955,10 @@
19551955
},
19561956
"required": [
19571957
"tracerConfig",
1958-
"enableMemory",
1959-
"enableReturnData",
19601958
"disableStack",
1961-
"disableStorage"
1959+
"disableStorage",
1960+
"enableMemory",
1961+
"enableReturnData"
19621962
],
19631963
"type": "object",
19641964
"x-go-type": "types.TraceConfig"
@@ -2254,11 +2254,11 @@
22542254
}
22552255
},
22562256
"required": [
2257-
"disableStorage",
22582257
"enableMemory",
22592258
"enableReturnData",
2260-
"tracerConfig",
2261-
"disableStack"
2259+
"disableStack",
2260+
"disableStorage",
2261+
"tracerConfig"
22622262
],
22632263
"type": "object",
22642264
"x-go-type": "types.TraceConfig"
@@ -2768,11 +2768,11 @@
27682768
}
27692769
},
27702770
"required": [
2771-
"disableStack",
2772-
"disableStorage",
27732771
"enableMemory",
27742772
"enableReturnData",
2775-
"tracerConfig"
2773+
"tracerConfig",
2774+
"disableStack",
2775+
"disableStorage"
27762776
],
27772777
"type": "object",
27782778
"x-go-type": "types.TraceConfig"
@@ -3056,11 +3056,11 @@
30563056
}
30573057
},
30583058
"required": [
3059-
"enableMemory",
30603059
"enableReturnData",
30613060
"disableStack",
3062-
"tracerConfig",
3063-
"disableStorage"
3061+
"disableStorage",
3062+
"enableMemory",
3063+
"tracerConfig"
30643064
],
30653065
"type": "object",
30663066
"x-go-type": "types.TraceConfig"
@@ -5369,6 +5369,7 @@
53695369
}
53705370
},
53715371
"required": [
5372+
"data",
53725373
"logIndex",
53735374
"removed",
53745375
"topics",
@@ -5377,8 +5378,7 @@
53775378
"transactionIndex",
53785379
"blockHash",
53795380
"blockTimestamp",
5380-
"address",
5381-
"data"
5381+
"address"
53825382
],
53835383
"type": "object",
53845384
"x-go-type": "types.Log"
@@ -5661,16 +5661,16 @@
56615661
}
56625662
},
56635663
"required": [
5664+
"blockHash",
5665+
"removed",
56645666
"address",
5665-
"topics",
56665667
"data",
5667-
"blockNumber",
5668-
"transactionHash",
5669-
"transactionIndex",
56705668
"blockTimestamp",
56715669
"logIndex",
5672-
"blockHash",
5673-
"removed"
5670+
"topics",
5671+
"blockNumber",
5672+
"transactionHash",
5673+
"transactionIndex"
56745674
],
56755675
"type": "object",
56765676
"x-go-type": "types.Log"
@@ -5827,12 +5827,12 @@
58275827
}
58285828
},
58295829
"required": [
5830-
"storageProof",
58315830
"address",
58325831
"accountProof",
58335832
"codeHash",
58345833
"nonce",
5835-
"storageHash"
5834+
"storageHash",
5835+
"storageProof"
58365836
],
58375837
"type": "object",
58385838
"x-go-type": "types.AccountResult"
@@ -6207,12 +6207,12 @@
62076207
}
62086208
},
62096209
"required": [
6210-
"type",
62116210
"from",
62126211
"gas",
62136212
"hash",
62146213
"input",
6215-
"nonce"
6214+
"nonce",
6215+
"type"
62166216
],
62176217
"type": "object",
62186218
"x-go-type": "types.RPCTransaction"
@@ -6507,12 +6507,12 @@
65076507
}
65086508
},
65096509
"required": [
6510-
"input",
6511-
"nonce",
6512-
"type",
65136510
"from",
65146511
"gas",
6515-
"hash"
6512+
"hash",
6513+
"input",
6514+
"nonce",
6515+
"type"
65166516
],
65176517
"type": "object",
65186518
"x-go-type": "types.RPCTransaction"
@@ -6989,16 +6989,16 @@
69896989
}
69906990
},
69916991
"required": [
6992-
"transactionIndex",
6993-
"blockHash",
6994-
"blockTimestamp",
6995-
"logIndex",
69966992
"removed",
6997-
"data",
6993+
"topics",
69986994
"blockNumber",
69996995
"transactionHash",
70006996
"address",
7001-
"topics"
6997+
"data",
6998+
"transactionIndex",
6999+
"blockHash",
7000+
"blockTimestamp",
7001+
"logIndex"
70027002
],
70037003
"type": "object",
70047004
"x-go-type": "types.Log"
@@ -8299,10 +8299,10 @@
82998299
}
83008300
},
83018301
"required": [
8302+
"domain",
83028303
"message",
83038304
"types",
8304-
"primaryType",
8305-
"domain"
8305+
"primaryType"
83068306
],
83078307
"type": "object",
83088308
"x-go-type": "apitypes.TypedData"

0 commit comments

Comments
 (0)