Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0b44d82
fix unknown fields
sudo-shashank Apr 27, 2026
073a2c8
fix MessageLotusJson
sudo-shashank Apr 27, 2026
bd9b661
fix test
sudo-shashank Apr 28, 2026
e15b409
update test snapshot
sudo-shashank Apr 28, 2026
7f3fcee
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank Apr 29, 2026
0869652
drop FlattenedApiMessage
sudo-shashank Apr 29, 2026
d5c5c88
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank Apr 29, 2026
2b692ba
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank Apr 30, 2026
448121a
update network upgrade param
sudo-shashank Apr 30, 2026
b49052a
update test snapshot
sudo-shashank Apr 30, 2026
15b918a
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 5, 2026
652e5b3
fix agent type
sudo-shashank May 5, 2026
b4908d4
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 5, 2026
87985cf
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 5, 2026
849ed0f
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 5, 2026
d408c2f
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 5, 2026
4251615
fix ExecutionTrace
sudo-shashank May 5, 2026
cce0f0d
Add ref link
sudo-shashank May 5, 2026
f54e7af
fix openrpc
sudo-shashank May 5, 2026
91d952b
fix old comment
sudo-shashank May 5, 2026
a29c1b5
update test snapshot
sudo-shashank May 5, 2026
9152064
pin latest instead of master
sudo-shashank May 6, 2026
aa159ba
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 7, 2026
6bcc649
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 7, 2026
97cfc76
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 7, 2026
c95e115
Merge branch 'main' into shashank/enable-strict-json-api
sudo-shashank May 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 71 additions & 74 deletions docs/openrpc-specs/v0.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@
"name": "Filecoin.ChainGetMessage.Result",
"required": true,
"schema": {
"$ref": "#/components/schemas/FlattenedApiMessage"
"$ref": "#/components/schemas/Message"
Comment thread
sudo-shashank marked this conversation as resolved.
}
},
"paramStructure": "by-position"
Expand Down Expand Up @@ -2280,7 +2280,7 @@
"name": "Filecoin.GasEstimateMessageGas.Result",
"required": true,
"schema": {
"$ref": "#/components/schemas/FlattenedApiMessage"
"$ref": "#/components/schemas/Message"
}
},
"paramStructure": "by-position"
Expand Down Expand Up @@ -9556,6 +9556,20 @@
}
]
},
"IpldOps": {
"description": "See <https://github.com/filecoin-project/lotus/blob/a0ecb8687f1c60d5e66040b6de364dbc9cc4d253/chain/types/execresult.go#L116>",
"type": "array",
"items": {
"$ref": "#/components/schemas/TraceIpld"
}
},
"Logs": {
"description": "FVM invocation logs (not EVM actor / `eth_getLogs` event logs).\nSee <https://github.com/filecoin-project/lotus/blob/a0ecb8687f1c60d5e66040b6de364dbc9cc4d253/chain/types/execresult.go#L115>",
"type": "array",
"items": {
"type": "string"
}
},
"Msg": {
"$ref": "#/components/schemas/MessageTrace"
},
Expand Down Expand Up @@ -9828,64 +9842,6 @@
"Signature"
]
},
"FlattenedApiMessage": {
"type": "object",
"properties": {
"CID": {
"$ref": "#/components/schemas/Cid"
},
"From": {
"$ref": "#/components/schemas/Address"
},
"GasFeeCap": {
"$ref": "#/components/schemas/TokenAmount",
"default": "0"
},
"GasLimit": {
"type": "integer",
"format": "uint64",
"default": 0,
"minimum": 0
},
"GasPremium": {
"$ref": "#/components/schemas/TokenAmount",
"default": "0"
},
"Method": {
"type": "integer",
"format": "uint64",
"default": 0,
"minimum": 0
},
"Nonce": {
"type": "integer",
"format": "uint64",
"default": 0,
"minimum": 0
},
"Params": {
"$ref": "#/components/schemas/Nullable_Base64String"
},
"To": {
"$ref": "#/components/schemas/Address"
},
"Value": {
"$ref": "#/components/schemas/TokenAmount",
"default": "0"
},
"Version": {
"type": "integer",
"format": "uint64",
"default": 0,
"minimum": 0
}
},
"required": [
"To",
"From",
"CID"
]
},
"ForestChainExportDiffParams": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -10094,6 +10050,10 @@
"type": "integer",
"format": "int64"
},
"UpgradeFireHorseHeight": {
"type": "integer",
"format": "int64"
},
"UpgradeGoldenWeekHeight": {
"type": "integer",
"format": "int64"
Expand Down Expand Up @@ -10227,7 +10187,8 @@
"UpgradeTuktukHeight",
"UpgradeTeepHeight",
"UpgradeTockHeight",
"UpgradeGoldenWeekHeight"
"UpgradeGoldenWeekHeight",
"UpgradeFireHorseHeight"
]
},
"GasTrace": {
Expand Down Expand Up @@ -10381,6 +10342,9 @@
"Message": {
"type": "object",
"properties": {
"CID": {
"$ref": "#/components/schemas/Nullable_Cid"
},
"From": {
"$ref": "#/components/schemas/Address"
},
Expand Down Expand Up @@ -10411,7 +10375,8 @@
"minimum": 0
},
"Params": {
"$ref": "#/components/schemas/Nullable_Base64String"
"$ref": "#/components/schemas/Base64String",
"default": null
},
"To": {
"$ref": "#/components/schemas/Address"
Expand Down Expand Up @@ -10868,6 +10833,12 @@
"ForkUpgradeParams": {
"$ref": "#/components/schemas/ForkUpgradeParams"
},
"GenesisTimestamp": {
"description": "See <https://github.com/filecoin-project/lotus/blob/a0ecb8687f1c60d5e66040b6de364dbc9cc4d253/api/types.go#L163>",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"NetworkName": {
"type": "string"
},
Expand All @@ -10882,7 +10853,8 @@
"ConsensusMinerMinPower",
"PreCommitChallengeDelay",
"ForkUpgradeParams",
"Eip155ChainID"
"Eip155ChainID",
"GenesisTimestamp"
]
},
"NetworkVersion": {
Expand Down Expand Up @@ -11139,16 +11111,6 @@
"minimum": 0
}
},
"Nullable_Base64String": {
"anyOf": [
{
"$ref": "#/components/schemas/Base64String"
},
{
"type": "null"
}
]
},
"Nullable_Cid": {
"anyOf": [
{
Expand Down Expand Up @@ -11418,6 +11380,10 @@
"APIVersion": {
"$ref": "#/components/schemas/ShiftingVersion"
},
"Agent": {
"description": "See <https://github.com/filecoin-project/lotus/blob/a0ecb8687f1c60d5e66040b6de364dbc9cc4d253/api/api_common.go#L78>",
"type": "string"
},
"BlockDelay": {
"type": "integer",
"format": "uint32",
Expand All @@ -11430,7 +11396,8 @@
"required": [
"Version",
"APIVersion",
"BlockDelay"
"BlockDelay",
"Agent"
]
},
"Receipt": {
Expand Down Expand Up @@ -11917,6 +11884,36 @@
}
]
},
"TraceIpld": {
"description": "IPLD operation details attached to an [`ExecutionTrace`].",
"type": "object",
"properties": {
"Cid": {
"$ref": "#/components/schemas/Cid"
},
"Op": {
"$ref": "#/components/schemas/TraceIpldOp"
},
"Size": {
"type": "integer",
"format": "uint64",
"minimum": 0
}
},
"required": [
"Op",
"Cid",
"Size"
]
},
"TraceIpldOp": {
"type": "string",
"enum": [
"Get",
"Put",
"Unknown"
]
},
"TraceResult": {
"anyOf": [
{
Expand Down
Loading
Loading