Roy Crihfield
bc3a7934cf
* refactor vulcanize => cerc * update geth and cerc dependencies * update packages, ginkgo * refactor chain generation * update integration tests, contract, makefile * go embed contract code * rm old readme * move unit tests into package * rm ginkgo where not needed * use tx in ref integrity functions
14 lines
204 B
Go
14 lines
204 B
Go
package validator
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type ChainNotSyncedError struct {
|
|
Head uint64
|
|
}
|
|
|
|
func (e *ChainNotSyncedError) Error() string {
|
|
return fmt.Sprintf("chain not synced (current head: %d)", e.Head)
|
|
}
|