Просмотр исходного кода

Remove unwanted files (#1431)

Signed-off-by: Lucas Steuernagel <lucas.tnagel@gmail.com>
Lucas Steuernagel 2 лет назад
Родитель
Сommit
dd5b165617
3 измененных файлов с 1 добавлено и 51 удалено
  1. 1 0
      .gitignore
  2. 0 22
      tests/.tmpk1BcHr/solana_test/flipper.sol
  3. 0 29
      tests/.tmpk1BcHr/solana_test/solang.toml

+ 1 - 0
.gitignore

@@ -3,6 +3,7 @@ Cargo.lock
 /target
 **/*.rs.bk
 bundle.ll
+tests/.tmp*
 
 .helix/
 .vscode/

+ 0 - 22
tests/.tmpk1BcHr/solana_test/flipper.sol

@@ -1,22 +0,0 @@
-@program_id("F1ipperKF9EfD821ZbbYjS319LXYiBmjhzkkf5a26rC")
-contract flipper {
-	bool private value;
-
-	/// Constructor that initializes the `bool` value to the given `init_value`.
-	@payer(payer)
-	constructor(bool initvalue) {
-		value = initvalue;
-	}
-
-	/// A message that can be called on instantiated contracts.
-	/// This one flips the value of the stored `bool` from `true`
-	/// to `false` and vice versa.
-	function flip() public {
-		value = !value;
-	}
-
-	/// Simply returns the current value of our `bool`.
-	function get() public view returns (bool) {
-		return value;
-	}
-}

+ 0 - 29
tests/.tmpk1BcHr/solana_test/solang.toml

@@ -1,29 +0,0 @@
-[package]
-input_files = ["flipper.sol"]   # Files to be compiled. You can define multiple files as : input_files = ["file1", "file2", ..]
-contracts = ["flipper"] # Contracts to include from the compiled files
-import_path = []   
-import_map = {}   # Maps to import. Define as  import_map = {map = "path/to/map1", map2 = "path/to/map2"}
-
-
-[target]
-name = "solana" # Valid targets are "solana" and "polkadot"
-
-[debug-features]
-prints = true   # Log debug prints to the environment.
-log-runtime-errors = true   # Log runtime errors to the environment.
-generate-debug-info = false  # Add debug info to the generated llvm IR.
-
-[optimizations]
-dead-storage = true
-constant-folding = true
-strength-reduce = true
-vector-to-slice = true
-common-subexpression-elimination = true
-llvm-IR-optimization-level = "default"  # Set llvm optimizer level. Valid options are "none", "less", "default", "aggressive"
-
-[compiler-output]
-verbose = false    # show debug messages
-#emit = "llvm-ir"   # Emit compiler state at early stage. Valid options are: "ast-dot", "cfg", "llvm-ir", "llvm-bc", "object", "asm".
-#output_directory = "path/to/dir"   
-#output_meta = "path/to/dir"  # output directory for metadata
-std_json_output = false        # mimic solidity json output on stdout