Skip to content

Commit

Permalink
feat(iota-framework-snapshot, iota-open-rpc): Add min_validator_count…
Browse files Browse the repository at this point in the history
… to RPC layer (#3704)

* feat(iota-types): Add min_validator_count to IotaSystemStateSummary

* feat(iota-framework-snapshot, iota-open-rpc, sdk): Update generated files

* feat(iota-rest-api): Update openapi.json

* chore: Format codes

* chores: Revert generated files in sdk

* fix(node): update iota-graphql-e2e-tests baseline

---------

Co-authored-by: muXxer <[email protected]>
  • Loading branch information
jkrvivian and muXxer authored Oct 28, 2024
1 parent ea70050 commit 9170764
Show file tree
Hide file tree
Showing 80 changed files with 2,411 additions and 2,486 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ Response: {
"data": {
"availableRange": {
"first": {
"digest": "DKptbXKz2pt5EXvcnVmbuGjqCGx7B7iiEw4D4kbiafsd",
"digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H",
"sequenceNumber": 0
},
"last": {
"digest": "DKptbXKz2pt5EXvcnVmbuGjqCGx7B7iiEw4D4kbiafsd",
"digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H",
"sequenceNumber": 0
}
},
"first": {
"digest": "DKptbXKz2pt5EXvcnVmbuGjqCGx7B7iiEw4D4kbiafsd",
"digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H",
"sequenceNumber": 0
},
"last": {
"digest": "DKptbXKz2pt5EXvcnVmbuGjqCGx7B7iiEw4D4kbiafsd",
"digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H",
"sequenceNumber": 0
}
}
Expand All @@ -39,20 +39,20 @@ Response: {
"data": {
"availableRange": {
"first": {
"digest": "DKptbXKz2pt5EXvcnVmbuGjqCGx7B7iiEw4D4kbiafsd",
"digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H",
"sequenceNumber": 0
},
"last": {
"digest": "3L1P3y1CaxBwfBnGUurLVuC1iMUGrsAbE4hrizUMLsV2",
"digest": "FubeYRn3Re3g8nR9jbf955Jd6GjqpzxubbfGaSV3XC8C",
"sequenceNumber": 2
}
},
"first": {
"digest": "DKptbXKz2pt5EXvcnVmbuGjqCGx7B7iiEw4D4kbiafsd",
"digest": "AjVRPrUd6kKCamy6Fjgzj2Xo2yEGM6jVLDT6KLGqgb1H",
"sequenceNumber": 0
},
"last": {
"digest": "3L1P3y1CaxBwfBnGUurLVuC1iMUGrsAbE4hrizUMLsV2",
"digest": "FubeYRn3Re3g8nR9jbf955Jd6GjqpzxubbfGaSV3XC8C",
"sequenceNumber": 2
}
}
Expand Down
76 changes: 38 additions & 38 deletions crates/iota-graphql-e2e-tests/tests/call/dynamic_fields.exp
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ Response: {
{
"name": {
"type": {
"repr": "bool"
"repr": "vector<u8>"
},
"data": {
"Bool": false
"Vector": []
},
"bcs": "AA=="
},
Expand All @@ -55,12 +55,12 @@ Response: {
{
"name": {
"type": {
"repr": "vector<u8>"
"repr": "u64"
},
"data": {
"Vector": []
"Number": "0"
},
"bcs": "AA=="
"bcs": "AAAAAAAAAAA="
},
"value": {
"__typename": "MoveValue"
Expand All @@ -69,15 +69,15 @@ Response: {
{
"name": {
"type": {
"repr": "u64"
"repr": "bool"
},
"data": {
"Number": "0"
"Bool": false
},
"bcs": "AAAAAAAAAAA="
"bcs": "AA=="
},
"value": {
"__typename": "MoveObject"
"__typename": "MoveValue"
}
},
{
Expand All @@ -91,7 +91,7 @@ Response: {
"bcs": "AAAAAAAAAAA="
},
"value": {
"__typename": "MoveValue"
"__typename": "MoveObject"
}
}
]
Expand Down Expand Up @@ -121,10 +121,10 @@ Response: {
{
"name": {
"type": {
"repr": "bool"
"repr": "vector<u8>"
},
"data": {
"Bool": false
"Vector": []
},
"bcs": "AA=="
},
Expand All @@ -135,12 +135,12 @@ Response: {
{
"name": {
"type": {
"repr": "vector<u8>"
"repr": "u64"
},
"data": {
"Vector": []
"Number": "0"
},
"bcs": "AA=="
"bcs": "AAAAAAAAAAA="
},
"value": {
"__typename": "MoveValue"
Expand All @@ -149,15 +149,15 @@ Response: {
{
"name": {
"type": {
"repr": "u64"
"repr": "bool"
},
"data": {
"Number": "0"
"Bool": false
},
"bcs": "AAAAAAAAAAA="
"bcs": "AA=="
},
"value": {
"__typename": "MoveObject"
"__typename": "MoveValue"
}
},
{
Expand All @@ -171,7 +171,7 @@ Response: {
"bcs": "AAAAAAAAAAA="
},
"value": {
"__typename": "MoveValue"
"__typename": "MoveObject"
}
}
]
Expand All @@ -190,51 +190,55 @@ Response: {
{
"name": {
"type": {
"repr": "bool"
"repr": "vector<u8>"
},
"data": {
"Bool": false
"Vector": []
},
"bcs": "AA=="
},
"value": {
"bcs": "AgAAAAAAAAA=",
"bcs": "AQAAAAAAAAA=",
"data": {
"Number": "2"
"Number": "1"
},
"__typename": "MoveValue"
}
},
{
"name": {
"type": {
"repr": "vector<u8>"
"repr": "u64"
},
"data": {
"Vector": []
"Number": "0"
},
"bcs": "AA=="
"bcs": "AAAAAAAAAAA="
},
"value": {
"bcs": "AQAAAAAAAAA=",
"bcs": "AAAAAAAAAAA=",
"data": {
"Number": "1"
"Number": "0"
},
"__typename": "MoveValue"
}
},
{
"name": {
"type": {
"repr": "u64"
"repr": "bool"
},
"data": {
"Number": "0"
"Bool": false
},
"bcs": "AAAAAAAAAAA="
"bcs": "AA=="
},
"value": {
"__typename": "MoveObject"
"bcs": "AgAAAAAAAAA=",
"data": {
"Number": "2"
},
"__typename": "MoveValue"
}
},
{
Expand All @@ -248,11 +252,7 @@ Response: {
"bcs": "AAAAAAAAAAA="
},
"value": {
"bcs": "AAAAAAAAAAA=",
"data": {
"Number": "0"
},
"__typename": "MoveValue"
"__typename": "MoveObject"
}
}
]
Expand Down
Loading

0 comments on commit 9170764

Please sign in to comment.