Skip to content

Commit

Permalink
Correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinglan committed Mar 29, 2019
1 parent 9fc272f commit 7e45fa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docs/src/pg/src/specs/generalized-plasma-state.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ Generalized Plasma State Spec
- ``self.DISPUTE_PERIOD: uint`` - the minimum dispute period before a claim can be redeemed
- Public methods:
- ``deposit(amount, state)``
- Deposits specifiy an initial state and the amount of money being deposited into that state
- Deposits specify an initial state and the amount of money being deposited into that state
- adds to ``self.deposits``
- extends ``self.claimableRanges`` so that the state is now claimable
- ``exitStateUpdate(exitStart: uint, exitEnd: uint, update: stateUpdate, updateWitness: stateUpdateWitness, initiationWitness: bytes)`` - allows users to submit a claim on a committed state
- ``assert verifyUpdate(update, self.address, stateUpdateWitness)``
- assert ``exitStart >= update.start``
- assert ``exitEnd <= update.end ``
- ``assert exitStart >= update.start``
- ``assert exitEnd <= update.end``
- ``assert update.state.predicate.can_initiate_exit(update, initiationWitness)``
- if so, adds a new exit to ``self.exits``
- sets the exit's ``ethBlockRedeemable`` to: ``eth.block + self.CHALLENGE_PERIOD + state.predicateAddress.getAdditionalLockup(update)``
Expand Down

0 comments on commit 7e45fa6

Please sign in to comment.