Skip to content

Commit

Permalink
conformance: tipset-class driver: support sending from actor addresses.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Sep 3, 2020
1 parent b774563 commit d8d38ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conformance/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ func (d *Driver) ExecuteTipset(bs blockstore.Blockstore, ds ds.Batching, preroot
sb.SecpkMessages = append(sb.SecpkMessages, msg)
case address.BLS:
sb.BlsMessages = append(sb.BlsMessages, msg)
case address.Actor:
// sneak in messages originating from actor addresses as both kinds.
sb.SecpkMessages = append(sb.SecpkMessages, msg)
sb.BlsMessages = append(sb.BlsMessages, msg)
default:
return nil, fmt.Errorf("from account is not secpk nor bls: %s", msg.From)
}
Expand Down

0 comments on commit d8d38ff

Please sign in to comment.