Skip to content

Commit

Permalink
update TokenPrecision_CESS,IdleProveInfo,ServiceProveInfo (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstaFrode authored Jan 24, 2024
1 parent f6a2789 commit c8b942a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/pattern/pattern.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
const DOT = "."

// Unit precision of CESS token
const TokenPrecision_CESS = "000000000000"
const TokenPrecision_CESS = "000000000000000000"

const StakingStakePerTiB = 4000

Expand Down Expand Up @@ -406,13 +406,13 @@ type MinerSnapShot struct {
}

type IdleProveInfo struct {
TeeAcc types.AccountID
TeePubkey WorkerPublicKey
IdleProve types.Bytes
VerifyResult types.Option[bool]
}

type ServiceProveInfo struct {
TeeAcc types.AccountID
TeePubkey WorkerPublicKey
ServiceProve types.Bytes
VerifyResult types.Option[bool]
}
Expand Down Expand Up @@ -472,8 +472,8 @@ type TagSigInfo struct {
}

type DigestInfo struct {
Fragment FileHash
TeePuk WorkerPublicKey
Fragment FileHash
TeePubkey WorkerPublicKey
}

// --------------------customer-----------------
Expand Down

0 comments on commit c8b942a

Please sign in to comment.