Skip to content

Commit

Permalink
refactor(client): tdx type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
failfmi committed Dec 16, 2024
1 parent 185c46f commit a73cfde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/taiko-client/prover/proof_producer/sgx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ type RaikoRequestProofBodyResponse struct {
ErrorMessage string `json:"message"`
}

type AutomataRequestProofBodyResponse struct {
Version uint64 `json:"version"`
Data string `json:"data"`
}

type RaikoProofData struct {
Proof string `json:"proof"` //nolint:revive,stylecheck
Status string `json:"status"`
Expand Down
5 changes: 5 additions & 0 deletions packages/taiko-client/prover/proof_producer/tdx_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ type TDXProofProducer struct {
DummyProofProducer
}

type AutomataRequestProofBodyResponse struct {
Version uint64 `json:"version"`
Data string `json:"data"`
}

func (t *TDXProofProducer) RequestProof(
ctx context.Context,
opts *ProofRequestOptions,
Expand Down

0 comments on commit a73cfde

Please sign in to comment.