diff --git a/pkg/transformers/shared/event_signature_generator_test.go b/pkg/transformers/shared/event_signature_generator_test.go index 3bed6e80..e19cdc3e 100644 --- a/pkg/transformers/shared/event_signature_generator_test.go +++ b/pkg/transformers/shared/event_signature_generator_test.go @@ -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")