|
1922 | 1922 | } |
1923 | 1923 | } |
1924 | 1924 | }, |
| 1925 | + { |
| 1926 | + "type": "object", |
| 1927 | + "required": [ |
| 1928 | + "computation_charge", |
| 1929 | + "computation_charge_burned", |
| 1930 | + "epoch", |
| 1931 | + "epoch_start_timestamp_ms", |
| 1932 | + "kind", |
| 1933 | + "non_refundable_storage_fee", |
| 1934 | + "protocol_version", |
| 1935 | + "storage_charge", |
| 1936 | + "storage_rebate", |
| 1937 | + "system_packages" |
| 1938 | + ], |
| 1939 | + "properties": { |
| 1940 | + "computation_charge": { |
| 1941 | + "description": "The total amount of gas charged for computation during the epoch.", |
| 1942 | + "type": "string", |
| 1943 | + "format": "u64" |
| 1944 | + }, |
| 1945 | + "computation_charge_burned": { |
| 1946 | + "description": "The total amount of gas burned for computation during the epoch.", |
| 1947 | + "type": "string", |
| 1948 | + "format": "u64" |
| 1949 | + }, |
| 1950 | + "epoch": { |
| 1951 | + "description": "The next (to become) epoch ID.", |
| 1952 | + "type": "string", |
| 1953 | + "format": "u64" |
| 1954 | + }, |
| 1955 | + "epoch_start_timestamp_ms": { |
| 1956 | + "description": "Unix timestamp when epoch started", |
| 1957 | + "type": "string", |
| 1958 | + "format": "u64" |
| 1959 | + }, |
| 1960 | + "kind": { |
| 1961 | + "type": "string", |
| 1962 | + "enum": [ |
| 1963 | + "change_epoch_v2" |
| 1964 | + ] |
| 1965 | + }, |
| 1966 | + "non_refundable_storage_fee": { |
| 1967 | + "description": "The non-refundable storage fee.", |
| 1968 | + "type": "string", |
| 1969 | + "format": "u64" |
| 1970 | + }, |
| 1971 | + "protocol_version": { |
| 1972 | + "description": "The protocol version in effect in the new epoch.", |
| 1973 | + "type": "string", |
| 1974 | + "format": "u64" |
| 1975 | + }, |
| 1976 | + "storage_charge": { |
| 1977 | + "description": "The total amount of gas charged for storage during the epoch.", |
| 1978 | + "type": "string", |
| 1979 | + "format": "u64" |
| 1980 | + }, |
| 1981 | + "storage_rebate": { |
| 1982 | + "description": "The amount of storage rebate refunded to the txn senders.", |
| 1983 | + "type": "string", |
| 1984 | + "format": "u64" |
| 1985 | + }, |
| 1986 | + "system_packages": { |
| 1987 | + "description": "System packages (specifically framework and move stdlib) that are written before the new epoch starts. This tracks framework upgrades on chain. When executing the ChangeEpoch txn, the validator must write out the modules below. Modules are provided with the version they will be upgraded to, their modules in serialized form (which include their package ID), and a list of their transitive dependencies.", |
| 1988 | + "type": "array", |
| 1989 | + "items": { |
| 1990 | + "$ref": "#/components/schemas/SystemPackage" |
| 1991 | + } |
| 1992 | + } |
| 1993 | + } |
| 1994 | + }, |
1925 | 1995 | { |
1926 | 1996 | "type": "object", |
1927 | 1997 | "required": [ |
|
3918 | 3988 | "protocol_version", |
3919 | 3989 | "reference_gas_price", |
3920 | 3990 | "safe_mode", |
3921 | | - "safe_mode_computation_rewards", |
| 3991 | + "safe_mode_computation_charges", |
| 3992 | + "safe_mode_computation_charges_burned", |
3922 | 3993 | "safe_mode_non_refundable_storage_fee", |
3923 | 3994 | "safe_mode_storage_charges", |
3924 | 3995 | "safe_mode_storage_rebates", |
|
4054 | 4125 | "description": "Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can be reset once we are able to successfully execute advance_epoch.", |
4055 | 4126 | "type": "boolean" |
4056 | 4127 | }, |
4057 | | - "safe_mode_computation_rewards": { |
| 4128 | + "safe_mode_computation_charges": { |
4058 | 4129 | "description": "Amount of computation rewards accumulated (and not yet distributed) during safe mode.", |
4059 | 4130 | "type": "string", |
4060 | 4131 | "format": "u64" |
4061 | 4132 | }, |
| 4133 | + "safe_mode_computation_charges_burned": { |
| 4134 | + "description": "Amount of burned computation rewards accumulated during safe mode.", |
| 4135 | + "type": "string", |
| 4136 | + "format": "u64" |
| 4137 | + }, |
4062 | 4138 | "safe_mode_non_refundable_storage_fee": { |
4063 | 4139 | "description": "Amount of non-refundable storage fee accumulated during safe mode.", |
4064 | 4140 | "type": "string", |
|
0 commit comments