forked from cerc-io/ipld-eth-server
vat.fold: add test for signature generation
This commit is contained in:
parent
5cc4748f10
commit
e040383fa5
@ -119,6 +119,13 @@ var _ = Describe("Event signature generator", func() {
|
||||
Expect(expected).To(Equal(actual))
|
||||
})
|
||||
|
||||
It("gets the vat init method signature", func() {
|
||||
expected := "fold(bytes32,bytes32,int256)"
|
||||
actual := shared.GetSolidityMethodSignature(shared.VatABI, "fold")
|
||||
|
||||
Expect(expected).To(Equal(actual))
|
||||
})
|
||||
|
||||
It("gets the flip deal method signature", func() {
|
||||
expected := "deal(uint256)"
|
||||
actual := shared.GetSolidityMethodSignature(shared.FlipperABI, "deal")
|
||||
|
Loading…
Reference in New Issue
Block a user