chore: update contract names

This commit is contained in:
Ludo Galabru
2023-08-17 11:36:11 +02:00
parent b78a0947b6
commit 632a0613b0
4 changed files with 40 additions and 15 deletions

View File

@@ -3,6 +3,11 @@
;; Summary:
;; Description:
;;;; Todo
;; - Check for non redundant signatures
;; - Double check the approach uncompressed / compressed / eth address
;; - Transition to new guardian sets
;;;; Traits
;; Implements trait specified in wormhole-core-trait contract

View File

@@ -3,8 +3,10 @@
;; Summary:
;; Description:
;;;; Traits
;;;; Todo
;; - Update watched price feed ids
;;;; Traits
;;;; Constants
;;
@@ -137,7 +139,7 @@
;;;; Private functions
;;
(define-private (parse-and-verify-vaa (vaa-bytes (buff 2048)))
(let ((vaa (unwrap-panic (contract-call? .wormhole-core-v1 parse-and-verify-vaa vaa-bytes))))
(let ((vaa (unwrap-panic (contract-call? .wormhole-core-dev-preview-1 parse-and-verify-vaa vaa-bytes)))) ;; try!
(get payload vaa)))
(define-private (parse-price-feed-header (pf-bytes (buff 2048)))