Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
33885fc
wrote tests
nicholasguo Jun 9, 2021
7ca6fd1
lint
nicholasguo Jun 10, 2021
a2be5f1
In this chage, fixes to peer selector and the test.
algonautshant Jun 14, 2021
3dc1512
write tests
nicholasguo Jun 15, 2021
3eed93f
fix import
nicholasguo Jun 15, 2021
eb6604c
rename test
nicholasguo Jun 15, 2021
d8b73f8
Added tests, exponential increase of download failure impact, local f…
algonautshant Jun 15, 2021
4aa0f48
test for error first
algonautshant Jun 15, 2021
9d8a460
Fix the test name so it runs
algonautshant Jun 15, 2021
f878967
fix tests
nicholasguo Jun 15, 2021
957958a
add check
nicholasguo Jun 15, 2021
6997588
Fix darwin-arm64 builds
Jun 15, 2021
f25c951
address comments
nicholasguo Jun 16, 2021
f937799
Enable unit tests on mac build script.
winder Jun 16, 2021
19490d4
More changes.
winder Jun 16, 2021
96f7b76
add another case
nicholasguo Jun 16, 2021
e8f9c70
use enums for message event permutations, add require trace helpers
cce Jun 16, 2021
11a4e39
add playerPermutation enums to permutation test
cce Jun 16, 2021
1e7c43b
rename requireTraceContainsAction to requireTraceContains
cce Jun 17, 2021
c43e226
Merge pull request #2284 from nicholasguoalgorand/nguo/ledger-cover
tsachiherman Jun 17, 2021
ebfc1fa
Merge pull request #2290 from grakshith/arm64-dev-build
tsachiherman Jun 17, 2021
5cb9d3a
Merge pull request #2265 from nicholasguoalgorand/nguo/blockqueue-cover
tsachiherman Jun 17, 2021
5b80276
make linter happy by removing underscores from enum names
cce Jun 17, 2021
77b6e11
Remove commented code in TestPlayerPermutation
cce Jun 17, 2021
9549171
Merge pull request #2291 from winder/will/test-mac
tsachiherman Jun 17, 2021
91b8ca1
Merge pull request #2303 from cce/read-permutation-tests
tsachiherman Jun 17, 2021
bc473af
Move extra page test to e2e_subs
algorandskiy Jun 17, 2021
9e07d6a
Merge pull request #2306 from algorandskiy/pavel/extra-pages-e2e-subs
tsachiherman Jun 17, 2021
07154fd
Specify truncated division is used in TEAL
fabrice102 Jun 18, 2021
6edb3f8
typos, grammar, inconsistencies
figurestudios Jun 19, 2021
8faf82a
Spec updates to go with division explanation.
jannotti Jun 19, 2021
f2ca4fe
added benchmark to lruAccounts write function
Jun 20, 2021
b726844
lruaccounts benchmark: filling the acounts with data before benchmarking
Jun 20, 2021
ee3f371
fix: amount of accounts generated in lruAccounts write benchmark
algonathan Jun 20, 2021
520e896
Merge pull request #2311 from algonathan/lruaccts-benchmark
tsachiherman Jun 21, 2021
3b85cdb
lruAccounts write fix: benchmark used too much memory
algonathan Jun 21, 2021
d8f5b33
Merge branch 'algorand:master' into lruaccts-benchmark
algonathan Jun 21, 2021
b27ab2c
lruAccounts benchmark: a more controlled distribution between account…
algonathan Jun 21, 2021
cff7771
REST API: make extra-program-pages and apps-total-extra-pages optional
algorandskiy Jun 21, 2021
0cb300d
Merge pull request #2312 from algonathan/lruaccts-benchmark
tsachiherman Jun 21, 2021
2824120
Merge pull request #2285 from algonautshant/shant/fixTestBasicCatchpo…
tsachiherman Jun 21, 2021
5d01664
Merge pull request #2308 from fabrice102/patch-3
tsachiherman Jun 21, 2021
2cd04d6
Merge pull request #2309 from figurestudios/patch-1
tsachiherman Jun 21, 2021
708581b
Merge pull request #2313 from algorandskiy/pavel/extra-pages-api
tsachiherman Jun 21, 2021
63b8241
Run misspell linter with -w flag (#2320)
cce Jun 23, 2021
1cd8dd4
Reduce unneeded contention around checking the peers connectivity. (#…
tsachiherman Jun 23, 2021
ed9609d
Improve TestMetricSegment test realibility (#2322)
tsachiherman Jun 23, 2021
93f2586
Restore TestPeriodicSync and TestBasicCatchpointCatchup tests. (#2315)
onetechnical Jun 23, 2021
798c612
testing: enable previously disabled TestConfigMigrate unit test (#2326)
algonautshant Jun 24, 2021
90edab3
testing: fix gotestsum install (#2328)
winder Jun 24, 2021
b55b53f
testing: move travis_retry to skip rebuilding (#2324)
winder Jun 24, 2021
f870265
testing: fix telemetry unit tests (#2321)
winder Jun 24, 2021
fbae428
Add Fedora support into install_linux_deps.sh (#2331)
pzbitskiy Jun 28, 2021
78e311e
Add missing txna allowed args to doc and langspec (#2336)
algorandskiy Jun 30, 2021
b0935e2
Add initial devMode support (#2334)
tsachiherman Jun 30, 2021
29a6fec
Implement hello circleci yaml (#2417)
bricerisingalgorand Jul 1, 2021
fc52ab9
catchup: fix potential nil dereferencing (#2420)
tsachiherman Jul 1, 2021
70d15fe
testing: ensure deploy_linux_version generates a linux/amd64 binaries…
Jul 2, 2021
e38dcff
Specs and unit test to avoid forgetting in the future (#2418)
jannotti Jul 2, 2021
8f41556
Fix and enable TestNewAccountCanGoOnlineAndParticipate (#2238)
algonautshant Jul 2, 2021
4f281b0
Fix docker repo update (#2342)
onetechnical Jul 6, 2021
3f6a279
Merge remote-tracking branch 'origin/rel/stable' into relstable2.7.1-…
Algo-devops-service Jul 6, 2021
e4c7ecb
Bump Version, Remove buildnumber.dat and genesistimestamp.dat files.
Algo-devops-service Jul 6, 2021
6dbfd3c
Initialize past side effects with correct length during dryrun reques…
jdtzmn Jul 6, 2021
2169e05
Merge pull request #2451 from Algo-devops-service/relstable2.7.1-remerge
algojohnlee Jul 6, 2021
c4206f7
optimize txtail memory consumption (#2413)
tsachiherman Jul 6, 2021
d52eef5
enable TestPartkeyOnlyRewards on macos (#2429)
algonautshant Jul 7, 2021
f09d814
Fix 10 minute timeout in travis. (Revert parts of #2324) (#2494)
winder Jul 7, 2021
3ac481e
allow to parse ipv6 localhost "[::]:4601" (#2430)
brianolson Jul 7, 2021
af8c2ce
disable TestAgreementSynchronous10 (#2503)
tsachiherman Jul 8, 2021
abc4058
testing: avoid division by zero during TestBasicCatchpointWriter (#2502)
tsachiherman Jul 8, 2021
6cfcbeb
selector pseudo-op in support of ABI (#2358)
jannotti Jul 9, 2021
398d606
Creator access and app_params_get (#2301)
jannotti Jul 9, 2021
66fbd60
fix regex for matching charset of valid DNS hosts, add test (#2505)
brianolson Jul 9, 2021
415d82c
Fix random failure in TestWebsocketNetworkPrioLimit (#2509)
tsachiherman Jul 9, 2021
da26ca7
Make TestPeersDownloadFailed and TestHistoricData predictable (#2516)
tsachiherman Jul 12, 2021
10e91da
Improve testing of alloc bounded slices. (#2515)
tsachiherman Jul 12, 2021
9cefeaa
Save Logging Information in Data Directory If Provided (#2415)
AlgoStephenAkiki Jul 12, 2021
b3bbc23
Lruaccts write speedup (#2329)
algonathan Jul 12, 2021
6eac44b
Use golangci-lint (#2523)
cce Jul 12, 2021
6cbc14d
update codec tester (#2527)
tsachiherman Jul 13, 2021
445c1c0
Fix random failures in TestPeriodicSync (#2535)
tsachiherman Jul 13, 2021
f2a48c9
Testing: use periodicSyncLogger for cleaner test runs (#2539)
algonautshant Jul 13, 2021
df972c3
Add travis wait to compilation step on travis. (#2544)
tsachiherman Jul 14, 2021
26fde33
test conditional slack alert (#2537)
algobarb Jul 14, 2021
ef53c00
Add Extract opcodes (#2521)
algochoi Jul 14, 2021
01248d2
Replace yum-cron with dnf-automatic to support centos 8 (#2547)
onetechnical Jul 14, 2021
51b3680
Remove obsolete transaction pool tests. (#2557)
tsachiherman Jul 15, 2021
f7827a3
2256-Update Github engineering issue template (#2540)
algojack Jul 15, 2021
aaf25ae
Change helper function name from extractNBits to extractNBytes to ref…
algochoi Jul 15, 2021
8c20ecf
Avoid requesting unsupported blocks by the ensure digest catchup path…
tsachiherman Jul 15, 2021
6ce65af
testing: lookup in no-GOPATH locations for packages in gocodec testin…
tsachiherman Jul 16, 2021
c983ad6
add handling for non-utf 8 asset names (#2555)
tsachiherman Jul 16, 2021
3069c69
Use dashes in v2 API. (#2569)
winder Jul 16, 2021
9d57f74
Infrastructure to check AVM stack manipulation opcodes better (#2567)
jannotti Jul 16, 2021
b1ab372
Use byte format for asset b64 fields. (#2573)
winder Jul 16, 2021
c58349e
Addressing panic in assembler (#2575)
barnjamin Jul 17, 2021
f047ff2
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Jul 17, 2021
6cbee52
Merge pull request #2577 from Algo-devops-service/relbeta2.8.0
algojohnlee Jul 20, 2021
7e09c41
Change spec file name to INSTALLER_DIR (#2591)
onetechnical Jul 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2.1
orbs:
welcome: circleci/welcome-orb@0.4.1
workflows:
welcome:
jobs:
- welcome/run

Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ assignees: ''

---

## Summary
<!-- *Describe the problem identified or the general goal of this issue* -->
## Problem
<!-- What is the problem that we’re trying to solve? -->

## Scope/Requirements
<!-- *What's involved in this issue? What's required to achieve the goal?* -->
## Solution
<!-- Do you have a potential/suggested solution? Document more than one if possible. -->

## Urgency/Relative Priority
<!-- *How urgent is this issue? What are the timing considerations to take into account?* -->
## Dependencies
<!-- Does the solution have any team or design dependencies? -->

## Urgency
<!-- What is the urgency here and why? -->
37 changes: 37 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
run:
timeout: 5m
tests: false

linters:
enable:
- golint
- misspell
- govet

disable:
- deadcode
- errcheck
- gosimple
- ineffassign
- staticcheck
- structcheck
- unused
- varcheck

linters-settings:
# govet:
# check-shadowing: true

issues:
# don't use default exclude rules listed in `golangci-lint run --help`
exclude-use-default: false

exclude-rules:
# ignore govet false positive fixed in https://github.com/golang/go/issues/45043
- linters:
- govet
text: "sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify"
# ignore golint false positive fixed in https://github.com/golang/lint/pull/487
- linters:
- golint
text: "exported method (.*).Unwrap` should have comment or be unexported"
32 changes: 17 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- stage: build_commit
os: linux
script:
- travis_retry scripts/travis/build_test.sh
- scripts/travis/build_test.sh

- stage: build_pr
os: linux
Expand All @@ -39,12 +39,12 @@ jobs:
os: linux
name: Ubuntu AMD64 Build
script:
- travis_retry scripts/travis/build_test.sh
- scripts/travis/build_test.sh
- # same stage, parallel job
os: linux
name: Ubuntu AMD64 Integration Test
script:
- travis_retry ./scripts/travis/integration_test.sh
- ./scripts/travis/integration_test.sh
- # same stage, parallel job
name: External ARM64 Build
os: linux
Expand All @@ -56,7 +56,7 @@ jobs:
packages:
- awscli
script:
- travis_retry scripts/travis/external_build.sh ./scripts/travis/build_test.sh
- scripts/travis/external_build.sh ./scripts/travis/build_test.sh
- # same stage, parallel job
name: External ARM64 Integration Test
os: linux
Expand All @@ -74,13 +74,13 @@ jobs:
osx_image: xcode11
name: MacOS AMD64 Build
script:
- travis_retry scripts/travis/build_test.sh
- scripts/travis/build_test.sh
- # same stage, parallel job
os: osx
osx_image: xcode11
name: MacOS AMD64 Integration Test
script:
- travis_retry ./scripts/travis/integration_test.sh
- ./scripts/travis/integration_test.sh
- # same stage, parallel job
os: windows
name: Windows x64 Build
Expand All @@ -89,7 +89,7 @@ jobs:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
script:
- travis_retry $mingw64 scripts/travis/build_test.sh
- $mingw64 scripts/travis/build_test.sh

- stage: build_release
os: linux
Expand All @@ -100,12 +100,12 @@ jobs:
os: linux
name: Ubuntu AMD64 Build
script:
- travis_retry ./scripts/travis/build_test.sh
- ./scripts/travis/build_test.sh
- # same stage, parallel job
os: linux
name: Ubuntu AMD64 Integration Test
script:
- travis_retry ./scripts/travis/integration_test.sh
- ./scripts/travis/integration_test.sh
- # same stage, parallel job
name: External ARM64 Build
os: linux
Expand All @@ -117,7 +117,7 @@ jobs:
packages:
- awscli
script:
- travis_retry scripts/travis/external_build.sh ./scripts/travis/build_test.sh
- scripts/travis/external_build.sh ./scripts/travis/build_test.sh
- # same stage, parallel job
name: External ARM64 Integration Test
os: linux
Expand All @@ -135,13 +135,13 @@ jobs:
osx_image: xcode11
name: MacOS AMD64 Build
script:
- travis_retry scripts/travis/build_test.sh
- scripts/travis/build_test.sh
- # same stage, parallel job
os: osx
osx_image: xcode11
name: MacOS AMD64 Integration Test
script:
- travis_retry ./scripts/travis/integration_test.sh
- ./scripts/travis/integration_test.sh
- # same stage, parallel job
os: windows
name: Windows x64 Build
Expand All @@ -150,7 +150,7 @@ jobs:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
script:
- travis_retry $mingw64 scripts/travis/build_test.sh
- $mingw64 scripts/travis/build_test.sh

- stage: deploy
name: Ubuntu Deploy
Expand Down Expand Up @@ -236,8 +236,10 @@ addons:

notifications:
slack:
secure: lBomhenfQvDzpUGxLadga188zavtGRr05GVWI6iI8ll/uwXewij8ginQ716Axg3pJvvRMNCuTNEmg0+fVlHf0JxTG3qWG35qOUexAHGcmimPD4ugmVkufua8Oc8Nl1LRSdWvbwIKvrAU1HDA37M5tCdEOm+Sf/OL72iVWbXhlHRvhdeiKHkbkcpI/15dOH4RpXuvPeYBrgcB2Ixs7gTSVyIAU458aT0JORu7expElQ+iBP9Kqze1V4dvjJyzHTgE01z2nyAm2Xpko447y//fYX2e20iDBE5S/GukaK/TeB3pD+FoC+Z2R7Gg1qA7a/gdGFbVgP12zWmzNaKVwY1YOvx8IIwP13XutioAE7bQbnHI1zGlQ+jxk3odWKZPhZSN/YvWD3i7g/xVksaTo++zwon2UlZ7x8LmKg1kOMeA3o2TUlzjQrwZZ4cB+4HqYHEqVdsSAadaMhKK82XE1OtGImdrIX1Y/02X2F/myJXwaE4Ap8smULHWGghCL/ALad+hdyE0K4/2SYDcoaOONgX9+VgaSEtYDO00Bt4/GMcuM+gwILsfCA9ZQuxCgIFEL1QWwDud8aGU1qF20yaimDlstlLnZXsv3Oli6r/CEEUVXltI5dkJyRd/jTlqWGjFGL8agGg34EPLP24Vn4h4QcIzoMfGWXkz2yrd6i0fvMAPXds=
if: branch = "rel/nightly"
rooms:
- secure: jx2gllL8A8QXkV/wVpfKBRfK7cMQkuHOxxFmN2eYEGR8AR6bAGfo5HVmb6VKBRpwVzOgXwhvjbxNdYlmRkKXeJ5o0DDDUG6YSKIrNkA38JulNKzdG3K3d6DoGJV3Iturp6O9W/IdweRSz2rjJsHP1RpYG3w39giSNTMR/Q4ent68CNoYHC3XEsUHmwGVA8bQpfu2AKfr98twgTzmTcvmx93B/ZHlR8GoLh+Vq2eAwiYuyYnoNYww3ekttqeqAr21X5xTjQyAwntnk1gfRKbdiEXcxlnNKCQn3yaD7qNorJZm9U/fhGiA1eLHOxtLLJD8HSEzLvNj9gShgw/YPaYjZJLZJe0kDpR4oFwVd+lVzBManVGOwfHJIsug8dnVxY1O/PLHPV4iM4tyGwcZfxSLOXsutN3PCJhYjKUrKaJ75+L5d1tXe3DoXtGH5e/GV2kGxWr25woAZrKCeBOPFZdhAc30XLOzTk3FN3hzRKVbL9O4zxFgJllOvQTWDQ9bmXxa3bk6cDwxaF8IJk+hP1k3VaOdaxmd28pnyR/X7xRF0l1W8S6SZfDFXAFBvVyH/Q1nfvXAez//cK0He959reubjUGM8HaSWw73n9Bj5Ri4ub92xfJqSAZItI5dS1hjfdh7moS50dYbBwSozgOgWdFXHdzGNnCv+/8v0LJcnSPRdT8=

env:
global:
secure: YMLx+QaBPgg97tVn2efZJSqwPRxybX9oR6Xe9oXUD4fEiVbOIv2BAsLP+MzSJGaFC+VXKha83kyDbAZnatDXTJYsBPOUgmIZDObQnktueR1v3TCKn3aw14G+/w6S4eQL+c7uW3idPE+KP3VWixjrBpWTHEfnZdnH9+qWeIWzy8A8UEAYPY/HXyDmwt5ceCJoITtdsuiuZNO2o7NGN8q+NP5A3ii8f5UyDa9/krxuA+x1e193wSGRdGcqxexM7zIq0uMhBF+2nOk4RAsDsqU33NpQw+dB1VJMta1XF+P6A7m16UKUjllTyOfUPGD068jKobVyWzbvZ79G2FZXGZ7HGE0711JZco3YenwtxXP8oGLgaIds6McoJnn3rbxe1i+PjRX09IXNQM/dNp53uxrtyi1y8ZEjzHjbb6z3rSOZrzaBhdVxBFR9Oc1Ek7i8MS1tlRlH58+U+Z1WPTvbcIQtFA5HmmTcDdBRkZtPC8bpVLHOZTGUcple9k39VtOGuSCvAAfHKENhieCaw/bBXX4bxAHAfiI0NEmdDrULDJLApWjtRCrUIqIqkdsJmtiZhE+iX1FKR9CP5lBXCAwDlPB3XOe0bSmiiGQ1/sf/1CovqOBg/vLwCpjQE0IZPofCiDZZdZbv4n4aCOjiAqhS8MjJ/LfLyUuAtPmQG5g47FzS1K4=

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ decentralization, scalability, security, and transaction finality.
## Getting Started ##

Our [developer website][developer site url] has the most up to date information
about using and installing the algorand platform.
about using and installing the Algorand platform.

## Building from source ##

Expand All @@ -21,7 +21,7 @@ the [official Go documentation website](https://golang.org/doc/).

### Linux / OSX ###

We currently strive to support Debian based distributions with Ubuntu 18.04
We currently strive to support Debian-based distributions with Ubuntu 18.04
being our official release target.
Building on Arch Linux works as well.
Our core engineering team uses Linux and OSX, so both environments are well
Expand All @@ -39,7 +39,7 @@ cd go-algorand
./scripts/buildtools/install_buildtools.sh
```

At this point you are ready to build go-algorand. We use `make` and have a
At this point, you are ready to build go-algorand. We use `make` and have a
number of targets to automate common tasks.

#### build
Expand Down Expand Up @@ -108,17 +108,17 @@ daemons, as well as other tools and commands:
locally by the node as well as parameters which must be agreed upon by the
protocol.
- `data` defines various types used throughout the codebase.
- `basics` holds basic types such as MicroAlgos, account data, and
- `basics` hold basic types such as MicroAlgos, account data, and
addresses.
- `account` defines accounts, including "root" accounts (which can
spend money) and "participation" accounts (which can participate in
the agreement protocol).
- `transactions` defines transactions that accounts can issue against
- `transactions` define transactions that accounts can issue against
the Algorand state. These include standard payments and also
participation key registration transactions.
- `bookkeeping` defines blocks, which are batches of transactions
atomically committed to Algorand.
- `pools` implements the transaction pool. The transaction pool holds
- `pools` implement the transaction pool. The transaction pool holds
transactions seen by a node in memory before they are proposed in a
block.
- `committee` implements the credentials that authenticate a
Expand All @@ -132,7 +132,7 @@ daemons, as well as other tools and commands:
routing network messages, and prefixes for domain separation of
cryptographic inputs. It also implements the canonical encoder.
- `network` contains the code for participating in a mesh network based on
websockets. Maintains connection to some number of peers, (optionally)
WebSockets. Maintains connection to some number of peers, (optionally)
accepts connections from peers, sends point to point and broadcast messages,
and receives messages routing them to various handler code
(e.g. agreement/gossip/network.go registers three handlers).
Expand Down Expand Up @@ -179,7 +179,7 @@ of their own:
A number of packages provide utilities for the various components:

- `logging` is a wrapper around `logrus`.
- `util` contains a variety of utilities, including a codec, a sqlite wrapper,
- `util` contains a variety of utilities, including a codec, a SQLite wrapper,
a goroutine pool, a timer interface, node metrics, and more.

`test` ([README](test/README.md)) contains end-to-end tests and utilities for the above components.
Expand Down
2 changes: 1 addition & 1 deletion agreement/abstractions.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type BlockValidator interface {
Validate(context.Context, bookkeeping.Block) (ValidatedBlock, error)
}

// A ValidatedBlock represents an Block that has been successfuly validated
// A ValidatedBlock represents an Block that has been successfully validated
// and can now be recorded in the ledger. This is an optimized version of
// calling EnsureBlock() on the Ledger.
type ValidatedBlock interface {
Expand Down
2 changes: 1 addition & 1 deletion agreement/fuzzer/fuzzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (n *Fuzzer) initAccountsAndBalances(rootSeed []byte, onlineNodes []bool) er
return nil
}

// Disconnect would disconnect node diconnectingNode from node disconnectedNode ensuring that no futher messages
// Disconnect would disconnect node diconnectingNode from node disconnectedNode ensuring that no further messages
// from disconnectedNode would reach diconnectingNode
func (n *Fuzzer) Disconnect(diconnectingNode, disconnectedNode int) {
n.disconnectMu.Lock()
Expand Down
2 changes: 1 addition & 1 deletion agreement/fuzzer/networkFacade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func (n *NetworkFacade) Zero() timers.Clock {
n.zeroClock = n.fuzzer.WallClock()

// we don't want to expire all the pending clocks here.
// this callback is coming *only* from the agreement sevice.
// this callback is coming *only* from the agreement service.
// it also means that we're not in the demux loop, so no one is blocking
// on any of the clocks.

Expand Down
2 changes: 1 addition & 1 deletion agreement/fuzzer/tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func printResults(t *testing.T, r *RunResult) {
r.PostRecoveryLowRound, r.PostRecoveryHighRound,
)
if r.PreRecoveryHighRound != r.PreRecoveryLowRound {
// network got disupted by the filters.
// network got disputed by the filters.
fmt.Printf("%v partitioned the network ( %d - %d ), but recovered correctly reaching round %d\n", t.Name(), r.PreRecoveryLowRound, r.PreRecoveryHighRound, r.PostRecoveryHighRound)
} else {
if r.PreRecoveryHighRound == r.StartLowRound {
Expand Down
2 changes: 1 addition & 1 deletion agreement/fuzzer/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (v *Validator) CheckNetworkRecovery() {
v.runResult.PostRecoveryLowRound, v.runResult.PostRecoveryHighRound,
)
if v.runResult.PreRecoveryHighRound != v.runResult.PreRecoveryLowRound {
// network got disupted by the filters.
// network got disputed by the filters.
fmt.Printf("%v partitioned the network ( %d - %d ), but recovered correctly reaching round %d\n", v.tb.Name(), v.runResult.PreRecoveryLowRound, v.runResult.PreRecoveryHighRound, v.runResult.PostRecoveryHighRound)
} else {
if v.runResult.PreRecoveryHighRound == v.runResult.StartLowRound {
Expand Down
Loading