Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 774 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 774 Bytes

README!

Motivation

The motivation of this is to have api.tx.timestamp.set function from Polkadot.js available for use in integration tests.

The problem

The problem is that set() function in timestamp pallet only allows calls with inherent origin because of mandatory dispatch.

Libraries used

Structure

The structure of the project is a mix of ink! and TypeScript. Please see redspot.config.ts for Redspot configuration. The integration tests are located in the tests directory. The artifacts folder contains the contract artifacts.