Skip to content

Commit e3994aa

Browse files
committed
renamed simulate to replay
1 parent c5a70d5 commit e3994aa

File tree

8 files changed

+51
-237
lines changed

8 files changed

+51
-237
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
1313
- Add `stackerdb_timeout_secs` to miner config for limiting duration of StackerDB HTTP requests.
1414
- When determining a global transaction replay set, the state evaluator now uses a longest-common-prefix algorithm to find a replay set in the case where a single replay set has less than 70% of signer weight.
1515
- New endpoints /v3/tenures/blocks/, /v3/tenures/blocks/hash, /v3/tenures/blocks/height allowing retrieving the list of stacks blocks from a burn block
16-
- New authenticated endpoint /v3/block/simulate to simulate the execution of any Nakamoto block in the chain (useful for validation, replay, getting events...)
16+
- New authenticated endpoint /v3/block/replay to replay the execution of any Nakamoto block in the chain (useful for validation, simulation, getting events...)
1717
- Creates epoch 3.3 and costs-4 in preparation for a hardfork to activate Clarity 4
1818
- Adds support for new Clarity 4 builtins (not activated until epoch 3.3):
1919
- `contract-hash?`

docs/rpc/components/examples/block-simulate.example.json

Lines changed: 0 additions & 108 deletions
This file was deleted.

docs/rpc/components/schemas/block-simulate.schema.yaml

Lines changed: 0 additions & 78 deletions
This file was deleted.

docs/rpc/openapi.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ components:
159159
$ref: ./components/schemas/get-stacker-set.schema.yaml
160160
TenureBlocks:
161161
$ref: ./components/schemas/tenure-blocks.schema.yaml
162-
BlockSimulate:
163-
$ref: ./components/schemas/block-simulate.schema.yaml
162+
BlockReplay:
163+
$ref: ./components/schemas/block-replay.schema.yaml
164164

165165
paths:
166166
/v2/transactions:
@@ -2200,15 +2200,15 @@ paths:
22002200
"500":
22012201
$ref: "#/components/responses/InternalServerError"
22022202

2203-
/v3/blocks/simulate/{block_id}:
2203+
/v3/blocks/replay/{block_id}:
22042204
get:
2205-
summary: Simulate mining of a block and returns its content
2205+
summary: Replay mining of a block and returns its content
22062206
tags:
22072207
- Blocks
22082208
security: []
2209-
operationId: blockSimulate
2209+
operationId: blockReplay
22102210
description: |
2211-
Simulate the mining of a block (no data is written in the MARF) and returns its content.
2211+
Replay the mining of a block (no data is written in the MARF) and returns its content.
22122212
parameters:
22132213
- name: block_id
22142214
in: path
@@ -2219,13 +2219,13 @@ paths:
22192219
pattern: "^[0-9a-f]{64}$"
22202220
responses:
22212221
"200":
2222-
description: Content of the simulated block
2222+
description: Content of the replayed block
22232223
content:
22242224
application/json:
22252225
schema:
2226-
$ref: "#/components/schemas/BlockSimulate"
2226+
$ref: "#/components/schemas/BlockReplay"
22272227
example:
2228-
$ref: "./components/examples/block-simulate.example.json"
2228+
$ref: "./components/examples/block-replay.example.json"
22292229
"400":
22302230
$ref: "#/components/responses/BadRequest"
22312231
"404":

0 commit comments

Comments
 (0)