You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Taskfile.yml
+85Lines changed: 85 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,24 @@ tasks:
85
85
- cmd: go mod tidy
86
86
- task: check-clean-branch
87
87
88
+
export-cchain-block-range:
89
+
desc: Export range of C-Chain blocks from source to target directory.
90
+
vars:
91
+
SOURCE_BLOCK_DIR: '{{.SOURCE_BLOCK_DIR}}'
92
+
TARGET_BLOCK_DIR: '{{.TARGET_BLOCK_DIR}}'
93
+
START_BLOCK: '{{.START_BLOCK}}'
94
+
END_BLOCK: '{{.END_BLOCK}}'
95
+
cmds:
96
+
- cmd: go test -timeout=0 -run=TestExportBlockRange github.com/ava-labs/avalanchego/tests/reexecute/c --source-block-dir={{.SOURCE_BLOCK_DIR}} --target-block-dir={{.TARGET_BLOCK_DIR}} --start-block={{.START_BLOCK}} --end-block={{.END_BLOCK}}
97
+
98
+
export-dir-to-s3:
99
+
desc: Copies a directory to s3
100
+
vars:
101
+
LOCAL_SRC: '{{.LOCAL_SRC}}'
102
+
S3_DST: '{{.S3_DST}}'
103
+
cmds:
104
+
- cmd: s5cmd cp {{.LOCAL_SRC}} {{.S3_DST}}
105
+
88
106
generate-mocks:
89
107
desc: Generates testing mocks
90
108
cmds:
@@ -109,6 +127,30 @@ tasks:
109
127
desc: Runs ginkgo against the current working directory
110
128
cmd: ./bin/ginkgo build {{.USER_WORKING_DIR}}
111
129
130
+
import-cchain-reexecute-range:
131
+
desc: Imports the C-Chain block and state data to re-execute. Defaults to import the first 200 and the current state created with the default config of the C-Chain (hashdb).
0 commit comments